Mac: How do I compile plugins???

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
the panda next door
Private First Class
Private First Class
Posts: 42
Joined: Sun Mar 16, 2008 3:55 am
Location: Las Vegas

Mac: How do I compile plugins???

Post by the panda next door »

When I compile bzflag 2.0.11, the plugins won't compile.
These are the commands I ran.

Code: Select all

cd bzflag
bash
export LDFLAGS=${LDFLAGS}-L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries 
./autogen.sh
./configure --enable-plugins
make
Anyone have any ideas?
Enigma
Private First Class
Private First Class
Posts: 212
Joined: Sat Apr 23, 2005 3:13 am

Post by Enigma »

I think you have to add --enable-shared with 2.0.11.
lol_u died

Post by lol_u died »

Enigma wrote:I think you have to add --enable-shared with 2.0.11.
this worked for me...
User avatar
the panda next door
Private First Class
Private First Class
Posts: 42
Joined: Sun Mar 16, 2008 3:55 am
Location: Las Vegas

Post by the panda next door »

where would the plugins be?
isn't the extension '.so'?
the compiled plugins aren't in the plugins directory

-also I'm using mac leopard
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

They will be located in ./plugins/PluginName/.libs/
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Mets
Private First Class
Private First Class
Posts: 29
Joined: Thu Aug 17, 2006 1:30 am
Location: Texas, but formerly New York, USA

Post by Mets »

You can specify --with-libdir=/some/path to have it put all of the plugins in some directory (after make install) for easy access if you wanted.
Post Reply