Jump to content
  • Advertisement
Sign in to follow this  
annoyer101

Dev-C++ error

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

Using Dev-C++ version# 4.9.9.2 When I try to compile any of my programs, I get this error: *** Couldn't reserve space for cygwin's heap, Win32 error 487 Any help on this topic is greatly appreciated. Sincerely, Annoyer

Share this post


Link to post
Share on other sites
Advertisement
You're using a crap IDE and a crap toolchain.

The only recommendation I can give is to upgrade to Microsoft Visual Studio 2005 Express Edition, which is available for free from Microsoft, and will actually work.

Share this post


Link to post
Share on other sites
This error is easy to fix.

Switch to VisualC++ Express.

It's got a much better debugger, a much better compiler, people will stop telling you to switch, and it's even more free!

Share this post


Link to post
Share on other sites
Well, I would like to but it can't compiple C code on it so I'm using Dev-C++.
If there is a way to use C on VC++ please tell me. Otherwise, my problem is the
same as my original problem.

Sincerely,
Annoyer

Share this post


Link to post
Share on other sites
Quote:
Original post by annoyer101
Well, I would like to but it can't compiple C code on it so I'm using Dev-C++.
If there is a way to use C on VC++ please tell me. Otherwise, my problem is the
same as my original problem.

Sincerely,
Annoyer


Use a .c extension instead of .cpp.

Alternatively, under your project properties page, Select:


- Configuration Properties
- C/C++
- Advanced
| Compile As | Compile as C Code (/TC) v |

Share this post


Link to post
Share on other sites
There is no file with a .c extension to choose from and under Configuration Properties there is nothing which say C/C++.

Share this post


Link to post
Share on other sites
Set your own extension when naming the file. filename.c

As for the language, this is what you should see:

Dialog

Share this post


Link to post
Share on other sites
Also consider code::blocks if you really wish to avoid MSVC++ in the future. If I don't use MSVC++ then I tend to use code::blocks. But that's rare.

Share this post


Link to post
Share on other sites
Quote:
There is no file with a .c extension to choose from


There's this wonderful thing called "renaming your files" or "typing out the extension yourself". Both of these will work. This is very much by design.

Quote:
and under Configuration Properties there is nothing which say C/C++.


It does if your project has any .c or .cpp files in 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!