I cannot install allegro. A few months ago, I got allegro to statically link on Windows 8.1 using Code::Blocks. But after I updated my installation, my code refused to compile and I got undefined references to everything. So the project I worked on for several months was essentially bricked.
I downloaded the latest Windows binaries, made sure all of the needed libraries and headers were in there, then hooked them up in Code::Blocks. Undefined references. I scrapped Code::Blocks, learned how to write Makefiles, manually set the include/link directories and necessary command line arguments. Undefined references.
I noticed most of the installation instructions were for Linux, and things like pkg-config could handle the command line arguments for you. Out of desperation I wiped my hard drive and did a fresh install of Ubuntu 14.04. With the wiki's guidance, I installed allegro from the Ubuntu PPAs and ran pkg-config in my Makefile. Undefined references.
I checked my installation and there were no actual library files, so I turned to compiling allegro myself. I cloned from git, ran CMake, and it told me I was missing the Thread and OpenGL packages. I installed 4 different pthread packages I saw listed on StackOverflow, still got the CMake errors. I stripped that error-checking and CMake worked. I ran make, it wouldn't recognize sys/cdefs.h. I installed 3-4 different C developer packages, still got the errors. Stripped the errors, was told that allegro was not recognizing the integer width on my platform.
I have no idea what to do at this point. I've gone through dozens of wiki pages, allegro.cc threads, StackOverflow answers and websites to find help every step of the way. There is an overwhelming amount of conflicting information spanning 7 years and several major allegro versions. Most answers still recommend using allegro-config which does not even exist anymore. I'm hopelessly lost and just want to work on my project.
Please give me up-to-date instructions on how to do the installation and static compile of allegro 5.2.3 for 64-bit Ubuntu 14.04. Ubuntu 16.04 is not an option for me because it does not correctly install the firmware for my wireless adapter and therefore I cannot connect to the internet.