Hi,
Thanks for your input. it directed me in the right path to solve the problem. Yet any thoughts on what might have caused the problem in item 5 !?
It seems the problem was with the eclipse not recognizing the toolchain
1- I added the path to my toolchain to the PATH env variable
2- restarted the eclipse
3- *** and now as you mentioned i could IMPORT the stdio.h header file (without requiring to manually add the INCLUDEPATH)
4- and s
ubsequently
i could call the functions in the header file
4-1- at this stage i created a sample c/c++ project and added the stdio.h and simply used printf("hello world)
BUT
5-1- I dont know why but at first the content assist in the statechart would not recognize printf and consequently using it resulted in an error
5-2- I used the puts function instead (which the content assist) did recognize and it worked (integrated the statemachine with the c++ application, compiled and run it successfully)
5-3- all of the sudden the printf function became available via the content assist and worked as expected
- I mentioned the steps above in case it might help someone