Jump to content
  • Advertisement
Sign in to follow this  
Cacks

C++ Compilers & IDEs for Windows

This topic is 2467 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Guys,

just wondering what C++ compilers every1 uses for Windows. Does any1 use anything else than Visual studio?

I'm making a game for PC & Mac with Linux server so looking for an option I could use on these 3 platforms,

cheers

Share this post


Link to post
Share on other sites
Advertisement
Personally I use Visual Studio. It's really nice IDE with a lot features (including lag).

Visual Studio compiler supports only Windows as far as I know. For Mac and Linux you'll have to get GCC compiler. There's high chance you'll need to have those OSes to make programs for them (I haven't looked into cross compiling so I do know how full details)

Share this post


Link to post
Share on other sites

just wondering what C++ compilers every1 uses for Windows. Does any1 use anything else than Visual studio?

If you want a cross-platform compiler and IDE, I'd suggest Code::Blocks with g++.

Personally though, I use Visual Studio on Windows, X Code on OS X, and Code::Blocks on Linux, and they all share the same source code.

Share this post


Link to post
Share on other sites

Personally though, I use Visual Studio on Windows, X Code on OS X, and Code::Blocks on Linux, and they all share the same source code.


This is more or less what I do as well, although I don't target OS X (we have a build that occasionally gets shaken-down, but it's not a primary platform).

The MSVC build on Windows is considered the "master", if for no other reason because of the superior debugging facilities (gdb may be Free but it's just not in the same league - good tools are important). Most work and new development is done with this. Every few days a Code::Blocks/gcc build is also done on Windows, together with a pure makefile build on Linux. This helps to maintain cross-platform compatibility as much as possible, and shakes out any compiler or build environment oddities.

It does become quite a pain any time a new file needs to be added to the project, but the benefits outweigh.

Share this post


Link to post
Share on other sites
I compile with both MinGW GCC and Visual C++ on Windows. I aim to start kicking Clang's tires soon, too.

For what it's worth, with global optimization and auto-vectorization enabled, MinGW g++ 4.6 is producing much faster code that Visual C++ 2010 for my floating-point heavy software renderer.

Share this post


Link to post
Share on other sites
My project works on Windows, Linux and Mac.
Primarily I debug using VC 2008 Express. That's super good to me.
On Linux and Mac, I usually don't need debug and don't write much code, so I just use CMake command line to compile and test.
When I need IDE on Linux and Mac, I use CMake to generate project file for Code::Blocks and XCode.

That's all I need for cross platform development. It's highly efficient.

Share this post


Link to post
Share on other sites

I'm using QTCreator for both Windows and Linux. (Makes things easier when i don't have to swap IDE)


+1

I think this is one of the best solutions if you really don't want to change IDE and project structure. It's a robust and professional IDE.

But that wouldn't be the solution I'd choose.. I think MonoDevelop+C#+OpenTK will give you way better productivity and almost instant (if you work at it, even binary) compatibility among the platforms.

Share this post


Link to post
Share on other sites
I'd use the best tool for the job, i.e. Visual studio on windows, x-code or something similar on OS-X (though I'm not sure if X-Code is the best on OS-X or not), etc. If the target is crossplattform, I'd use a crossplattform compiler/IDE. To be honest it's really annoying to switch and fix projectsettings between different IDEs and OS;es.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!