Re: [AD] More source code that doesn't compile...

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


That did nothing.
 
The 100 or so functions Code::Block lists are actually being called by AGUP, but they do not appear in the Allegro Libraries I have (I did a hex search for it). I downloaded all the copies of all the libraries from the allegro.cc site that I could get, yet only one of them contained the functions being called (allegro-4.4.2-mingw-4.5.2) that were not in the libraries I was using (allegro-4.4.2-msvc-10.0). Yet the mingw libraries still gave me the same exact errors as the msvc libraries.
 
So a new additional question I have is, can I trust the allegro.cc site for the correct downloads and builds of Allegro? I suspect something is wrong with all the libraries I have downloaded from allegro.cc so who can I trust to give me working libraries so that AGUP will compile?

On 5/23/2016 at 4:56 PM, Trent Gamblin <trent@xxxxxxxxxx> wrote: 
You want to link in the order of most dependent to least dependent. What that probably means is agup first, allegro second, and after that I don't know what you have but it might not matter.

On 16-05-21 08:50 AM, Andrew Robinson wrote:
Sorry, but I think I am leaving out some important information. I am trying to compile the GUI Un-uglification project. I am using Code::Blocks but I am new to Code::Blocks.

On 5/20/2016 at 7:58 PM, Andrew Robinson <arobinson18@xxxxxxxxxx> wrote: 
I'm getting a whole slew of errors here and I don't know why. I'm using Code::Blocks, it compiles okay, but then craps out when it tries to link the obj file into an executable. Basically it isn't finding a bunch of functions. Example:

obj\Release\examp.o:examp.c:(.text+0xf8): undefined reference to `file_select_ex'

obj\Release\examp.o:examp.c:(.text+0x2d0): undefined reference to `centre_dialog'

obj\Release\examp.o:examp.c:(.text+0x2dd): undefined reference to `do_dialog'

obj\Release\examp.o:examp.c:(.text+0x329): undefined reference to `alert'

I am linked to every single .h file and .a file that exists in Allegro, so how could it possibly not work? Maybe there is a missing library? Is it versioning? I hate programs that give me no feedback.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/