User forums > Help

changing codeblocks compiler

(1/4) > >>

supagu64:
right, i've installed visual studio 2003 toolkit, and then installed cde blocks IDE only. When it loads for the first time it detects the vc toolkit, which i then set as the default compiler. i make a new sample project, try to compile it and it seems it wants to use gcc:


--- Code: ---Project   : Console application
Compiler  : GNU GCC Compiler (called directly)
Directory : D:\Programming\test5\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.cpp
Execution of 'mingw32-g++.exe       -c main.cpp -o .objs\main.o' in 'D:\Programming\test5' failed.

--- End code ---

any idea how to get it to use vc2003 toolikit correctly?

supagu64:
problem solved. You have to change it in the build options for each project :|

takeshimiya:
The problem is that the templates are created for GCC. You must make your changes (ie. use MSVC compiler setting) and create your own template (menu Project->Save project as user-template).

This is a known limitation of the templates system and will be addresed in compiler plugin revamping post-1.0 .

Vampyre_Dark:
Is this the same guy I just helped with this on GDNet?  :?

Michael:

--- Quote from: Takeshi Miya on December 11, 2005, 05:41:06 am ---The problem is that the templates are created for GCC. You must make your changes (ie. use MSVC compiler setting) and create your own template (menu Project->Save project as user-template).

This is a known limitation of the templates system and will be addresed in compiler plugin revamping post-1.0 .

--- End quote ---
There was sometime ago a discussion about project templates and compilers (see http://forums.codeblocks.org/index.php?topic=1183.0). Is the compiler plugin revamping post-1.0 the proposed solution for this "problem"?

Thank you very much.

Michael

Navigation

[0] Message Index

[#] Next page

Go to full version