User forums > Help

cannot compile

<< < (4/6) > >>

BlueHazzard:
OK, in the CMD type this in this order:

--- Code: ---set PATH=%PATH%;c:\MinGW\bin
--- End code ---
and then

--- Code: ---mingw32-g++.exe -Wall -fexceptions -g  -c main.cpp -o main.o
--- End code ---

The first command will add the MinGW compiler directory to your path so cmd can find the compiler command. The second command will try to build your source without codeblocks, so we can see if something is blocking the compiler.

[Edit:] as soon as you close the cmd you will have to retype the first command.

wobien:
Still no succes... (see attachment)

wobien:
There is no file mingw32-g++.exe in the directory c:\MinGW\bin. See my second attachement in my post at 07:17:49 pm

Miguel Gimenez:
Try


--- Code: ---mingw32-gcc.exe -Wall -fexceptions -g  -c main.cpp -o main.o
--- End code ---

wobien:
Now Mingw reacts, but still no succes...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version