Include paths not updating

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Include paths not updating

ソリューションへジャンプ
942件の閲覧回数
michaelsthomas
Contributor I

I'm using KDS 3.0 and having a problem building my project due to paths not being updated.

104930_104930.pngIncludePath.png

Notice the "D4D" directory is in my include path.  However, when I compile the project, this path is not included in the search:

 

15:36:42 **** Build of configuration Debug for project NextGenUIM ****

make all

'Building file: ../Supervisory_Code_Level/MyMain.c'

'Invoking: Cross ARM C Compiler'

arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3

-I"C:/AOSGit/NextGenUIM/Static_Code/System"

-I"C:/AOSGit/NextGenUIM/Static_Code/PDD"

-I"C:/AOSGit/NextGenUIM/Static_Code/IO_Map"

-I"C:\Freescale\KDS_3.0.0\eclipse\ProcessorExpert/lib/Kinetis/pdd/inc"

-I"C:/AOSGit/NextGenUIM/Sources"

-I"C:/AOSGit/NextGenUIM/Generated_Code"

-I"C:/AOSGit/NextGenUIM/Static_Code/Peripherals"

-I"C:/AOSGit/NextGenUIM/Class_Code_Level"

-I"C:/AOSGit/NextGenUIM/Common_Headers"

-I"C:/AOSGit/NextGenUIM/Superclass_Code_Level"

-I"C:/AOSGit/NextGenUIM/Supervisory_Code_Level"

-std=c99 -MMD -MP -MF"Supervisory_Code_Level/MyMain.d" -MT"Supervisory_Code_Level/MyMain.o" -c -o "Supervisory_Code_Level/MyMain.o" "../Supervisory_Code_Level/MyMain.c"

../Supervisory_Code_Level/MyMain.c:20:17: fatal error: d4d.h: No such file or directory

#include "d4d.h"

                 ^

compilation terminated.

make: *** [Supervisory_Code_Level/MyMain.o] Error 1

 

How do I get KDS to recognize the new include path?

ラベル(1)
0 件の賞賛
返信
1 解決策
731件の閲覧回数
liborukropec
NXP Employee
NXP Employee

Hello Michael,

it seems that there is long problem in the Eclipse with eclipse variables nesting - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=273705

If you project is located directly in your workspace (is not linked somewhere else), you can change your variable to "${workspace_loc}/${ProjName}/D4D"

Regards,

Libor

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
732件の閲覧回数
liborukropec
NXP Employee
NXP Employee

Hello Michael,

it seems that there is long problem in the Eclipse with eclipse variables nesting - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=273705

If you project is located directly in your workspace (is not linked somewhere else), you can change your variable to "${workspace_loc}/${ProjName}/D4D"

Regards,

Libor

0 件の賞賛
返信
731件の閲覧回数
michaelsthomas
Contributor I

This has cleared up the problem!  Thank you!

0 件の賞賛
返信