Re: [AD] Cannot link Allegro on OSX with frameworks

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


... which is not to say that a problem hasn't appeared in SVN version;
I'll check that later.

Pete

On 5/11/06, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
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
>





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