0

Hi! I'm running the latest OpenSuse 11.4.
I have knowledge of C++ programming and I think I'm ready to start using graphics.
I have downloaded allegro-5.0.4.tar.gz, extracted it and tried to include allegro.h file in my C++ code.

Here is my testing file for allegro.

#include <iostream>
#include "/Documents/Allegro/include/allegro5/allegro.h"
 
int main(){

	cout << "Allegro Y U NO WORK?" << endl;

}

I get the following error:

In file included from testin.cpp:2:0:
Allegro/include/allegro5/allegro.h:26:27: fatal error: allegro5/base.h: No such file or directory
compilation terminated.

If you have any advice or a tutorial, please inform me of them.

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by lawnmoler
0

Allegro must be installed in the system. From what i see you just got the header files.
I dont know what software packager does Opensuse has, search it and latter install it.

The header files will be copied to the include

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.