Hello everyone,
I just started to use XTimeComposer and I have encountered an error that I can't find a fix for. I was following the tutorial in this wiki
http://doc.synapticon.com/index.php?tit ... SOMANET_OS
After following this tutorial now everytime I build my project I get the following error(in the attachment) I am still able to program the board, and the code seems to run ok, but I would like to get rid of this error.
Thanks in advance,
Marco.
Program "g++" not found in PATH
-
- Member++
- Posts: 16
- Joined: Wed Apr 15, 2015 9:31 am
-
- Experienced Member
- Posts: 84
- Joined: Mon Jan 18, 2010 2:52 pm
Hi Marco,
I expect that this issue is related to the cdt's 'scanner discovery builder',
which we dont really require. Maybe you could try disabling this for your
project. i.e. Project->properties->builders, uncheck the 'Scanner Configuration Builder' entry.
Other options to try:
1) Might be able to remove the error by deleting all the content beneath the
<storageModule moduleId="scannerConfiguration"> in the .cproject file, then restarting the xtimecomposer.
2) Installing g++ will also probably make the error go away!
By the way, which version of the tools are you using here?
I assume that you are using 13 (or previous) as this shouldn't happen
in the 14 tools.
Cheers,
Kris.
I expect that this issue is related to the cdt's 'scanner discovery builder',
which we dont really require. Maybe you could try disabling this for your
project. i.e. Project->properties->builders, uncheck the 'Scanner Configuration Builder' entry.
Other options to try:
1) Might be able to remove the error by deleting all the content beneath the
<storageModule moduleId="scannerConfiguration"> in the .cproject file, then restarting the xtimecomposer.
2) Installing g++ will also probably make the error go away!
By the way, which version of the tools are you using here?
I assume that you are using 13 (or previous) as this shouldn't happen
in the 14 tools.
Cheers,
Kris.
-
- Experienced Member
- Posts: 84
- Joined: Mon Jan 18, 2010 2:52 pm
Hi Marco,
The cdt (C development tools) is a set of eclipse plugins upon which the
xtimecomposer is based. These plugins come with a feature called scanner discovery
which attempts to automatically find include include paths/defines based on the
compiler output. However, we dont use this feature, so its probably safe to disable it.
I suspect the reason you are seeing this on the 14.x tools is that the projects you imported
were created with the 13.x tools, which contained the invalid references to g++.
It's strange you see this error if you have g++ installed though. I can reproduce this error
if I remove g++ from the path (i.e. rename it). If it is there though, I dont see the error.
Anyways, hope this helps,
Cheers,
Kris.
The cdt (C development tools) is a set of eclipse plugins upon which the
xtimecomposer is based. These plugins come with a feature called scanner discovery
which attempts to automatically find include include paths/defines based on the
compiler output. However, we dont use this feature, so its probably safe to disable it.
I suspect the reason you are seeing this on the 14.x tools is that the projects you imported
were created with the 13.x tools, which contained the invalid references to g++.
It's strange you see this error if you have g++ installed though. I can reproduce this error
if I remove g++ from the path (i.e. rename it). If it is there though, I dont see the error.
Anyways, hope this helps,
Cheers,
Kris.