Jump to content
  • Advertisement
Sign in to follow this  
Gameteen

Can't change an Allegro project in DevC++

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

Well, I'm back to bug those who actually know something. I received the book "Game Programming All in One" and, after recovering from shock and setting things up (according to the book), I ran the examples. Lo and behold, when ever I change and recompile, I get these errors: cc1.exe C:\Dev-Cpp\My Projects\dev-cpp\chapter04\tankwar\cc1.exe unrecognized command line option "-fsave-memoized" C:\Dev-Cpp\My Projects\dev-cpp\chapter04\tankwar\Makefile.win [Build Error] [main.o] Error 1 If you know what's wrong, thx in advance!

Share this post


Link to post
Share on other sites
Advertisement
Remove the -fsave-memoized command line option?
What version of dev-cpp are you using? What version of GCC does it run on?

Share this post


Link to post
Share on other sites

Oops, stupid me!

The allegro devpack is version 4.0.3, Dev-C++ is 4.9.9.2(beta), using Mingw/GCC 3.4.2 . As the first post says, the examples run ok, until you change the code and recompile, in which case you get the errors mentioned above.

Share this post


Link to post
Share on other sites

Thanks for the help, Fruny!

Apparently, the project options were set with the -fsave-memoized. Disabling it fixed everything!

thx again!

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!