Code::Blocks Forums

User forums => Help => Topic started by: mikethebike on July 08, 2006, 10:14:39 am

Title: build options from MS VC++2005 project
Post by: mikethebike on July 08, 2006, 10:14:39 am
HI
why those errors? i found some in the build options. What are those used
for? What shall i do?

mingw32-g++.exe: /W3: No such file or directory
mingw32-g++.exe: /GX: No such file or directory
mingw32-g++.exe: /O2: No such file or directory
mingw32-g++.exe: /DWIN32: No such file or directory
mingw32-g++.exe: /DNDEBUG: No such file or directory
mingw32-g++.exe: /D_CONSOLE: No such file or directory
mingw32-g++.exe: /D_MBCS: No such file or directory
mingw32-g++.exe: /YX: No such file or directory
mingw32-g++.exe: /FD: No such file or directory
mingw32-g++.exe: /G6: No such file or directory
mingw32-g++.exe: /MT: No such file or directory
mingw32-g++.exe: /D_WINDOWS: No such file or directory
mingw32-g++.exe: /DHAVE_MAXLONGLONG: No such file or directory
mingw32-g++.exe: /DHAVE_CRTDBG_H: No such file or directory
mingw32-g++.exe: /DHAVE__ASM: No such file or directory
mingw32-g++.exe: /DNEED_GLUT_DISABLE_ATEXIT_HACK: No such file or directory
mingw32-g++.exe: /DAVOID_WIN32_FILEIO: No such file or directory
mingw32-g++.exe: /DHAVE_STRICMP: No such file or directory
mingw32-g++.exe: /DPRECISION_TIMER_WIN32: No such file or directory
mingw32-g++.exe: /DHAVE_OPENAL: No such file or directory

Thanks
Michael

Title: Re: build options from MS VC++2005 project
Post by: Charon on July 08, 2006, 10:44:47 am
Hi,

the problem is that you seem to have compiler switches for MS VC++2005 in your project file, but are compiling your project with MingW.
MingW doesn't understand these switches, so either change them to switches MingW does understand, or use the MS VC++2005 compiler with Code::Blocks. (if you don't get this working have a look in the wiki here http://wiki.codeblocks.org (http://wiki.codeblocks.org) or search through this forum)

Regards
Markus
Title: Re: build options from MS VC++2005 project
Post by: mikethebike on July 08, 2006, 02:24:53 pm
Thanks
  can i simply remove them? Or what exactly is their function? how could i achieve the same
with mingw?
Regards Michael
Title: Re: build options from MS VC++2005 project
Post by: mikethebike on July 08, 2006, 09:13:52 pm
it tried nmake but codeblocks shows but doesnt find it. its in:
C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin
How can i tell codblocks to use this nmake compiler?
I changed already the env. vars of ms2003tools without effect.
Thanks