User forums > General (but related to Code::Blocks)
how to make such setting in code blocks.
vikash:
I have installed visual C++ 2008 express in my computer. I feel better to write in code blocks so i want to use editor of code blocks but compiler debugger etc of visual C++.I mean i want to use visual C++ in code blocks environment. Can I change setting of project so that it uses visual C++ compiler linker etc instead of gcc. If yes then how to do this.
thanks for any kind of help.
Freem:
There is a menu in setting, compiler settings.
I don't use this compiler so I can't help more...
But wiki give some instructions:
http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_C_6_with_Code::Blocks_IDE
vikash:
--- Quote from: Freem on July 18, 2011, 10:06:10 am ---There is a menu in setting, compiler settings.
I don't use this compiler so I can't help more...
But wiki give some instructions:
http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_C_6_with_Code::Blocks_IDE
--- End quote ---
that is for visual C++ 6 i am asking for visual C++ 2008.
did method mentioned there work for VC++ 2008 also? i think no.
Freem:
Are those compiler so different?
Instructions maybe relatively close.
vikash:
--- Quote from: Freem on July 18, 2011, 12:08:39 pm ---Are those compiler so different?
Instructions maybe relatively close.
--- End quote ---
That does not work.
See code blocks is cross platform which means it can use other compilers also(As i think). I go to setting->compiler and debugger->toolchain executable tab there i replace GNU GCC compiler by MS visual C++ 2005/2008 then click on auto detect it detect my visual C++ installation directory all the entries changed. But when i compile Hello world program it say no file like iostream found in directory as an error. Once again i go to setting->compiler and debugger->toolchain executable tab there i open every entry like C compiler C++ compiler and others(see attachment 1). In bin folder of VC++ installation directory every file found(as shown in toolchain) except debugger file name cdb.exe and resource file name rc.exe(see attachment 1). I think it is not compiling because these two files are not in directory and it is mandatory to have those file in bin folder as written above in image(see attachment 1)
see specially those regions which are made round. Is there any error in my tool chain?
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
Go to full version