Eclipse IDE cant find include files

HI,

eclipse IDE when creating hello world project

doesnt find the include *.h files
therefor reports an error

everything is set according to the manual in Toradex

hi @Ram

Could you provide more Information about your use case and Application?
What are you trying to do?

doesnt find the include *.h files therefor reports an error

Could you provide the error log?

everything is set according to the manual in Toradex

Which manual are you talking about?

Best regards,
Jaski

Hi Jaski,

Everything according to the Toradex flowchart
it works fine before setting the ${CC} etc…
Then
the output log:

17:27:33 **** Incremental Build of configuration Debug for project hellow-world-B ****
make all 
Building file: ../src/hellow-world.c
Invoking: Cross GCC Compiler
O1 -g -Wall -c -v -MMD -MP -MF"src/hellow-world.d" -MT"src/hellow-world.o" -o "src/hellow-world.o" "../src/hellow-world.c"
/bin/sh: O1: command not found
make: [src/hellow-world.o] Error 127 (ignored)
src/subdir.mk:18: recipe for target 'src/hellow-world.o' failed
Finished building: ../src/hellow-world.c



Building target: hellow-world-B
Invoking: Cross GCC Linker
o "hellow-world-B"  ./src/hellow-world.o   
/bin/sh: o: command not found
makefile:30: recipe for target 'hellow-world-B' failed
make: [hellow-world-B] Error 127 (ignored)
Finished building target: hellow-world-B
 
17:27:33 Build Finished (took 593ms)

Could you say which step in which toradex is not working? Please provide a link of the flowchart you are using.

HI,
see the problem window:

Description	Resource	Path	Location	Type
/bin/sh: o: command not found	hello-world		 	C/C++ Problem
/bin/sh: O0: command not found	hello-world		 	C/C++ Problem
Program "-E" not found in PATH	hello-world		Project Properties, C++ Preprocessor Include.../Providers, [CDT Cross GCC Built-in Compiler Settings] options	C/C++ Scanner Discovery Problem
recipe for target 'hello-world' failed	makefile	/hello-world/Debug	line 30	C/C++ Problem
recipe for target 'src/hello-world.o' failed	subdir.mk	/hello-world/Debug/src	line 18	C/C++ Problem
Symbol 'EXIT_SUCCESS' could not be resolved	hello-world.c	/hello-world/src	line 16	Semantic Error
make: [hello-world] Error 127 (ignored)	hello-world		 	C/C++ Problem
make: [src/hello-world.o] Error 127 (ignored)	hello-world		 	C/C++ Problem

Could you answer my question, please?

Dear, Jaski,

Glad if you can help
when using gcc on compiler settings it compiles fine, when changing to ${CC}
IDE shoes Errors and can not find include files.
Appreciate your help ASAP
Thanks

Hi Ram

You still did not answer my question.
Did you follow this step?

Hi,
Yes I did.
after installing all up to eclipse, and eclipse IDE.
Hello world is working with gcc.
when changing to ${CC} according to the instruction flow, the IDE reports errors as i mentioned.

In Addition,
when using CLI, i manage to run the hellow world , generate the output, send it with SCP to the target Colibri imx6ULL, and run it on the target
like in the example

attached the link to the instruction flow

Perfect that it works. Thanks for the feedback.