Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » My stupid compiler error

This thread is locked; no one can reply to it. rss feed Print
My stupid compiler error
Taiko Keiji
Member #8,307
February 2007
avatar

I'm trying to make a Game engine and it works except for this

Circular Main <- Main.o dependency dropped.

What does that mean?

heres my main file.

1#include "GameEngine.h"
2 
3int main()
4{
5 GameEngine* GameEngine1;
6 GameEngine1.LockTimers();
7 GameEngine1.SpetSpeed();
8 install_int_ex(GameEngine1.SpeedTime,BPS_TO_TIMER(60));
9 BITMAP*buffer;
10 GameEngine1.SetUp(32,buffer);
11 while(!key[KEY_ESC])
12 {
13 draw_screen(buffer);
14 rest(100);
15 }
16 return 0;
17}END_OF_MAIN();

Life could be better, machines could program themselves.

Taiko Keiji-
http://lostotaku.net

CGamesPlay
Member #2,559
July 2002
avatar

It means your Makefile is broken. You appear to be trying to compile Main as the source file, where you should be compiling Main.cpp.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Go to: