Note that there are some explanatory texts on larger screens.

plurals
  1. PONewbie Problem: C/C++ with Eclipse
    primarykey
    data
    text
    <p>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.</p> <p>My FIRST problem is that I can run and build an application like the information in Console: </p> <pre><code>**** Build of configuration Debug for project HelloWorld **** make all &lt;br /&gt; Building file: ../src/HelloWorld.cpp &lt;br /&gt; Invoking: Cygwin C++ Compiler &lt;br /&gt; g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/HelloWorld.d" &lt;br /&gt; -MT"src/HelloWorld.d" -o"src/HelloWorld.o" "../src/HelloWorld.cpp" &lt;br /&gt; Finished building: ../src/HelloWorld.cpp &lt;br /&gt; Building target: HelloWorld.exe &lt;br /&gt; Invoking: Cygwin C++ Linker &lt;br /&gt; g++ -o"HelloWorld.exe" ./src/HelloWorld.o &lt;br /&gt; Finished building target: HelloWorld.exe &lt;br /&gt; </code></pre> <p>But in the Problems view, I still have the following warnings, </p> <pre><code>Error launching external scanner info generator (g++ -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) &lt;br /&gt; Error launching external scanner info generator (g++ -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) &lt;br /&gt; Error launching external scanner info generator (gcc -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) &lt;br /&gt; Error launching external scanner info generator (gcc -E -P -v -dD F:/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) </code></pre> <p>My SECOND problem is that I have set up PATH but I cannot run '<code>g++ --version</code>' and '<code>gcc --version</code>' in the windows command, while 'make', 'gdb', 'gcc-3', and 'g++-3' work.<br> Does anyone know what I can do to fix those problems? Is the second problem related to the first problem? </p> <p>Thanks</p> <p>Hank </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload