|
Having trouble compiling |
jadoirecafe
Member #16,834
April 2018
|
I installed Allegro 5 on to MSYS but when I try to compile an Allegro program it gives me the following error: gcc display.c -o display.exe -static -lallegro_monolith -m64 C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lallegro_monolith collect2.exe: error: ld returned 1 exit status
What do I do? I don't quite know how to link the library and I'm quite new to this. I tried codeblocks and I still had the same error.??? |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Did you build the monolith? Did you install allegro properly? You can use pkg-config to get the allegro libraries on MSYS if you don't want to specify them manually. 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 |
|