User forums > Using Code::Blocks
Question on installing the Platform SDK
takeshimiya:
Well, all of those failed obviously because the templates (the ones that are in New Project...) have the compiler flags only for GCC (some are for MSVC also).
But you also obviously don't have the setup working, because Console Application can't fail in DMars for example. You may have forgotten to include STLport for example.
Same goes for MSVC, which without Platform SDK is almost useless.
You really want to read this page on the Wiki: http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler
Bitpower:
As stated in my message, this test was just testing how well each compiler works when only using what was included by each compiler's distribution. In other words, if you go to the compilers website and download and install it and only it. Obviously, several of the fails are because of not having the necessary libaries installed. But it was an interesting test to see which compilers worked the best without needing to install additional libraries.
Each compiler is setup correctly, but was setup using only what was included within the manufacturer's download, since I was testing only what was included with the compiler when you downloaded it.
takeshimiya:
You really can't expect even a C++ hello world to work if you don't even have the STL.
A compiler doesn't have to come with any library, some comes with their own STL implementation (ie. GCC's libstdc++), but some others don't, like DMars, but you can use STLport, which is a very good implementation and works on almost all compilers.
severach:
>I tested it by using the "new project" option in Code Blocks and just compiling the sample code included with each type of new project under 1.0rc2.
You're expecting too much. MinGW is the only compiler fully supported by Code::Blocks at this time. MSVT support is fair and the rest are bad. It isn't the compilers' faults that the IDE hasn't yet been programmed to support them. It took me almost 4 days to get my DLL to compile in all 5 compilers:
http://forums.codeblocks.org/index.php?topic=946.0
Once you figure out the best switches and the proper command lines, it's nothing to compile and run in all 5 compilers to ensure that you're on the straight and narrow. I've added a sixth compiler/IDE which caught yet more errant behavior and now provides me with a fully functional debugger.
http://smorgasbordet.com/pellesc/
>Same goes for MSVC, which without Platform SDK is almost useless.
Digital Mars without an updated platform SDK is minimally useful. Fortunately it is easy to upgrade. I whipped up a .BAT file installer from:
http://cmeerw.org/prog/dm/ms_sdk.html
grunerite:
--- Quote from: severach on February 05, 2006, 06:34:09 am ---You're expecting too much. MinGW is the only compiler fully supported by Code::Blocks at this time.
--- End quote ---
Project->Properties->This_is_a_custom_makefile
So, actually, if you have a makefile that works, Code::Blocks fully supports it. :)
Of course, it might not have all the bells and whistles for some it supports. Your point is well taken though.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version