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 » Sat Jun 07, 2008 8:54 pm

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: 211
Joined: Sat Apr 23, 2005 3:13 am

Post by Enigma » Sun Jun 08, 2008 2:03 am

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

lol_u died

Post by lol_u died » Sun Jun 08, 2008 3:42 am

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 » Sun Jun 08, 2008 5:19 am

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: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast » Mon Jun 09, 2008 12:44 am

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 » Mon Jun 09, 2008 9:12 am

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