|
Cannot install allegro-5.2.2.0 |
toussaint1963
Member #16,622
January 2017
|
I cannot install allegro-5.2.2.0 on Linux Opensuse 13.2 |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Have you installed gcc and g++ with zypper? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
I have installed gcc. I found not g++, Where can I gez it? |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Use YaST and search for g++. Or try 'sudo zypper install gcc-g++' from the command line. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
I installed gcc-c++. Then Cmake works, but when I run make I got following error:/home/johannes/bin/allegro-5.2.2.0/src/opengl/extensions.c:42:20: fatal error: GL/glu.h: Datei oder Verzeichnis nicht gefunden |
Edgar Reynaldo
Major Reynaldo
May 2007
|
I don't know which package it is, but you need to install OpenGL. I think it's called mesalibgl-dev or something like that... My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
I installes all Mesa files. Then I got following error: |
Edgar Reynaldo
Major Reynaldo
May 2007
|
You need GLU (The GL Utility toolkit) as well. You can build it from source here : There's probably a package you can install too. Does this work? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
I installed the glu-9.0.0 files. I installed with Yast all files with glu. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
I found libglu. Use 'sudo zypper install libGLU1' to install it. Then try deleting CMakeCache.txt from your build directory and re-running cmake. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
It worked. But I started a programme, but the programme did not find allegro.h. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Did you run 'make && make install' after running cmake? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
I run make and make Install. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
You have to set your CB project include search directory. Go to Menu->Project->Build Settings and then enter the directory where you installed Allegro into the search directory for the compiler tab. Allegro's headers are probably in /usr/include or /usr/local/include. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
I only use gcc in the terminal. Where can I set a path to allegro.h. What kind of Programm is CB? |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Nevermind my last post. To set an include directory with gcc, you use '-I DIR' where it would be '-I usr/local/include'. Pkg-config should also be able to do that if you use the --cflags parameter. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
toussaint1963
Member #16,622
January 2017
|
Thank You, that runs. |
|