Jump to content
  • Advertisement
Sign in to follow this  
landes1024

What is the best portable C++ compiler?

This topic is 3599 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

Hello everyone, I am new to GD forums. I always like to program away from home. I am currently using Dev C++ but I really miss the intellisense. Is there any other C++ compiler that is more like MSVC++? And no, a laptop is not an option. Thanks for any help!

Share this post


Link to post
Share on other sites
Advertisement
I use Code::Blocks, it fits on my flash drive. You have to download a compiler to go along with it because it is just an IDE, but there are instructions on its website on where to get these. It has intellisense and quite a few features I wish MSVC++ had. The other option is Eclipse, which I've used for Java. I know there is a C++ version, but I don't know how good it is.

Share this post


Link to post
Share on other sites
Hello, landes1024, welcome to the forums.

Your post has me confused as to what you are trying to do? Are you trying to write and compile code on a portable device, or something similar, but not a laptop? One of the most portable compilers is probably GCC. It runs on Linux (And other Unix platforms), and Windows in the form of MinGW.

If I misunderstood you, please let me know.

Share this post


Link to post
Share on other sites
Sorry if I confused you, I meant a flash drive.
And thanks Treb, I'll try Code::Blocks.

But how exactally do you make it portable? All I see on their site is an .exe.
Thanks again. :)

Share this post


Link to post
Share on other sites
Ah, okay, I see what you mean.

Code::Blocks is probably your best choice then.

When installing Code::Blocks it will ask you if you want to install MinGW (IIRC). So, when you install both of them, make sure you tell them to install onto the flash drive and you should be okay. I've never tried using Code::Blocks on a flash drive, so you may just want to give it a shot, and see how it works.

Share this post


Link to post
Share on other sites
The .exe is the installer, if you tell that to install on a flash drive you should be able to run it from there.

And "portable" as far as compilers (and programs) can also mean the ability to run on multiple OS's so that's why JParishy was confused.

edit: mixed names up :P

Share this post


Link to post
Share on other sites
Well...

I installed code blocks on my flash drive but whenever I click build it gives me this:


"Test5 - Debug" uses an invalid compiler. Skipping...
Nothing to be done.


What do I do?

Share this post


Link to post
Share on other sites
I got the previous question fixed, but...
When something builds:


-------------- Build: Release in Test5 ---------------

Compiling: main.cpp


I get a pop up:


Windows - No Disk

---
|X| Exception Processing Messsage blah blah Parameters blah blah blah
---

Cancel Try Again Continue


And when I click any of the buttons it just comes back again. I have to reboot to get rid of it!!

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!