User forums > General (but related to Code::Blocks)

General questions

<< < (5/8) > >>

johne53:
Thanks guys that seems to have fixed the problem.

Incidentally, I noticed that Code::Blocks freely loads up a Visual C++ project (in my case, Visual C++ 6) but when I try to compile it, I get an error saying "ComboDemo - Win32 Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Is that to be expected? Code::Blocks seemd to be happy to let me to select Visual C++ as a default compiler.

[Edit...] In fact, I've realised that I get the same message, no matter what compiler I select.

MortenMacFly:

--- Quote from: johne53 on April 25, 2007, 04:11:25 pm ---Code::Blocks seemd to be happy to let me to select Visual C++ as a default compiler.

--- End quote ---
If you haven't setup that compiler correctly (or any other you choose) C::B reports just the truth: The compiler is not (setup) valid. Verify the setup of your preferred compiler (is it installed at all?!).
With regards, Morten.

johne53:
Thanks Morten. What's the procedure for setting up a compiler? When I first launched C::B it listed about 15 compilers it had supposedly auto-detected (including several compilers that I didn't even know I had). I selected Visual C++ 2003 as the default compiler - then loaded a VC++ project. Do I also need to set up some compiler parameters or something?

johne53:
Okay, I found out how to set up the correct path to my compiler. Now when I try to compile my source file I get this message:-

Execution of 'cl.exe /nologo /MD /W3 /GX /O2 /DWIN32 /DNDEBUG /D_WINDOWS /D_AFXDLL /FD /Zp1 /D_MBCS /DFILETREECTRL_NO_RESOURCES   /c ComboDemo.cpp /FoRelease\ComboDemo.obj' in 'D:\Program Files\ComboDemoNew' failed.

Is there any way to get a report of why the failure happened?

Biplab:
This could be due to other reasons. Such as the Platform SDK path not found. Check whether it is in PATH or not.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version