Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » headless build isn't using include dependencies
headless build isn't using include dependencies [message #908374] Wed, 05 September 2012 09:05 Go to next message
Philipp Dassow is currently offline Philipp DassowFriend
Messages: 2
Registered: September 2012
Junior Member
Hello everybody,

I'm trying to build a project from commandline using following statement:

C:\Daten\eclipse>eclipsec.exe -application org.eclipse.cdt.managedbuilder.core.headlessbuild --launcher.suppressErrors -data "C:\Daten\test" -import "C:\Daten\SFM_Orig\System" -consoleLog -build System


The problem I'm having is, that there are some include pathes set in the project files, that are need to build the project, but the headless build dosn't theme to use them:
arm-none-eabi-gcc -DOMAPL137 -I"C:\Daten\SFM_Orig\System"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SCL_Lib"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SerIO_Init"
-I"C:\Daten\eclipse\gnu-arm\arm-none-eabi\include"
-I"C:\Daten\eclipse\gnu-arm\lib\gcc\arm-none-eabi\4.2.3\include"
-O3 -Wall -fsigned-char -c -mpoke-function-name -MMD -MP
-MF"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d"
-MT"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d" -mcpu=arm926ej-s -mfloat-abi=soft -o "Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.o" "../Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.c"


A build from GUI workswithout any problem:
arm-none-eabi-gcc -DOMAPL137 -I"C:\Daten\SFM_Orig\System"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SCL_Lib"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SerIO_Init"
-I"C:\Daten\SFM_Orig\Application"
-I"C:\Daten\SFM_Orig\Application\Monitor"
-I"C:\Daten\SFM_Orig\ThreadX"
-I"C:\Daten\SFM_Orig\DLM_Connector\DLM_Files"
-I"C:\Daten\eclipse\gnu-arm\arm-none-eabi\include"
-I"C:\Daten\eclipse\gnu-arm\lib\gcc\arm-none-eabi\4.2.3\include"
-I"C:\Daten\SFM_Orig\Application\GlobalServices"
-I"C:\Daten\SFM_Orig\Application\TetraControl"
-O3 -Wall -fsigned-char -c -mpoke-function-name -MMD -MP 
-MF"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d"
-MT"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d" -mcpu=arm926ej-s -mfloat-abi=soft -o "Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.o" "../Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.c"
'Finished building: ../Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.c'


As you can see, the GUI log shows, that there are some includes, that are not taken in account from the headless build, but both are using the same projectfiles ...

Anybody an idea to fix that?

[Updated on: Wed, 05 September 2012 09:07]

Report message to a moderator

Re: headless build isn't using include dependencies [message #908378 is a reply to message #908374] Wed, 05 September 2012 09:14 Go to previous message
Philipp Dassow is currently offline Philipp DassowFriend
Messages: 2
Registered: September 2012
Junior Member
Ahhhhh, nevermind, I've found the problem right in front of the monitor.

I didn't imported all projects with the command line, so importing solved it.
Previous Topic:how to invoke custom make target using cdt code
Next Topic:Access to GNU-Tools
Goto Forum:
  


Current Time: Wed Nov 26 11:52:51 GMT 2014

Powered by FUDForum. Page generated in 0.09988 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software