User forums > Help
MinGW Compile Errors
stahta01:
Now try the second command since the first one worked.
--- Code: ---CD /d C:\CodeBlocks\Projects\CppLearning
C:\CodeBlocks\MinGW\bin\mingw32-g++.exe -Wall -fexceptions -g -c C:\CodeBlocks\Projects\CppLearning\main.cpp -o obj\Debug\main.o
--- End code ---
Tim S.
Pinyateh:
Good old,
--- Quote ---mingw32-g++.exe: error: CreateProcess: No such file or directory
--- End quote ---
stahta01:
--- Quote from: Pinyateh on December 30, 2014, 08:44:34 pm ---Good old,
--- Quote ---mingw32-g++.exe: error: CreateProcess: No such file or directory
--- End quote ---
--- End quote ---
So, we have confirmed it is NOT a Code::Blocks based error.
The likely things are Windows setting, anti virus setting, or a MinGW GCC bug.
Edit:
Windows setting are security and permission issues; you might try using a Admin command window and see if error goes away.
anti virus setting: You might try turning off the AV software and see if error goes away.
MinGW GCC bug: search with the Windows version and mingw version for bugs.
Tim S.
Pinyateh:
Thank you everyone for your help, and I bring settling news, I fixed it!! There was some environmental variable called "GCC_EXEC_PREFIX" and after deleting that, everything works! God simple solutions are always missed.
Navigation
[0] Message Index
[*] Previous page
Go to full version