Re: [AD] Cannot link Allegro on OSX with frameworks |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] Cannot link Allegro on OSX with frameworks
- From: "Peter Hull" <peterhull90@xxxxxxxxxx>
- Date: Thu, 11 May 2006 07:02:49 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ke7VGUha1tTBDHJMuHSQyTZsLqFvo79SxwbF1smZN03TUlSs3+slzOlwKSiHADg1UihxhvjMKl+PtaXyLy/pkJerBK97uVX7LajVuRrMQNtCd6GERvoGQTJTqV5qrHm/7aNlEjqS/548xPl7rc+ji0xKk0a+gTGvLqqlFwrM/fI=
I tried to get the 'test' program working, with a stock 4.2.0 allegro.
First I did make install-framework EMBED=1, as you.
Then I copied test.c to test-f.c and edited test-f.c. I changed
#include "allegro" to #include <Allegro/allegro.h>
Then I did:
gcc test-f.c -framework Allegro -framework Cocoa -lalleg-main -o test-f
fixbundle test-f -e
and that worked OK.
_install_allegro_version_check isn't anywhere in Allegro 4.2.0, but it
is in current SVN, so I still suspect you're picking a different
version from somewhere.
Pete
On 5/11/06, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
Peter Hull wrote:
> That usually means you've got some stale versions somewhere, because
> those symbols were added recently. What line are you using to link
> your game?
>
> Pete
>
Sorry for the delay. My link line is basically this:
g++ -framework Cocoa -framework Allegro -lalleg-main -o rafkill $(.o
files..) -laldmb -ldumb -lpthread
I noticed that the framework was installed in
/Library/Frameworks/Allegro.framework so I rm -rf'd the
Allegro.framework directory and reinstalled Allegro, via make
install-framework EMBED=1, but the missing symbol error(
__install_allegro_version_check ) persists.
I cleaned /usr/local/lib as well and reinstalled. I also tried 'make
uninstall && make install' but that didnt work either.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers