Hello guys,
My setup includes: Windows Vista, Eclipse 3.5.0, and gdb, make, gcc 3.4.4, g++ 3.4.4 enabled through Cygwin, and environmental variable is already set.
My FIRST problem is that I can run and build an application like the information in Console:
**** Build of configuration Debug for project HelloWorld ****
make all <br />
Building file: ../src/HelloWorld.cpp <br />
Invoking: Cygwin C++ Compiler <br />
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/HelloWorld.d" <br /> -MT"src/HelloWorld.d" -o"src/HelloWorld.o" "../src/HelloWorld.cpp" <br />
Finished building: ../src/HelloWorld.cpp <br />
Building target: HelloWorld.exe <br />
Invoking: Cygwin C++ Linker <br />
g++ -o"HelloWorld.exe" ./src/HelloWorld.o <br />
Finished building target: HelloWorld.exe <br />
But in the Problems view, I still have the following warnings,
Error launching external scanner info generator (g++ -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) <br />
Error launching external scanner info generator (g++ -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) <br />
Error launching external scanner info generator (gcc -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) <br />
Error launching external scanner info generator (gcc -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c)
My SECOND problem is that I have set up PATH but I cannot run 'g++ --version
' and 'gcc --version
' in the windows command, while 'make', 'gdb', 'gcc-3', and 'g++-3' work.
Does anyone know what I can do to fix those problems? Is the second problem related to the first problem?
Thanks
Hank