Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Linking Order for Static Allegro-5.2.x

This thread is locked; no one can reply to it. rss feed Print
Linking Order for Static Allegro-5.2.x
Versus_Oo
Member #23,499
September 2022

Hi Everyone!

Following is the working linking order for static linked Allegro-5.2.x:

"-l"allegro_acodec-static -lallegro_audio-static -lvorbisfile -lvorbis -lallegro_color-static -lallegro_dialog-static -lallegro_font-static -lallegro_main-static -lallegro_memfile-static -lallegro_physfs-static -lallegro_primitives-static -lallegro_ttf-static -lallegro_video-static -lallegro-static -ldumb -lFLAC -lfreetype -logg -lallegro_image-static -lpng16 -lwebp -lwebpdecoder -lwebpdemux -lzlib -lgdiplus -luuid -lkernel32 -lwinmm -lpsapi -lopengl32 -lglu32 -luser32 -lcomdlg32 -lgdi32 -lshell32 -lole32 -ladvapi32 -lws2_32 -lshlwapi -lopusfile -lopus -ljpeg -lphysfs -ltheoradec -ldinput -lddraw -ldxguid -ldsound -lstdc++ -lgcc"" -mwindows
Output file is bin\(whatever...).exe with size 4.17 MB
Process terminated with status 0 (0 minute(s), 5 second(s))
0 error(s), 0 warning(s) (0 minute(s), 5 second(s))

Enjoy!

Go to: