[Plib-devel] plib examples build break on mac os x 10.3
Brought to you by:
sjbaker
From: <ima...@ve...> - 2004-11-27 14:39:58
|
Can anyone with plib developer authority possibly add these changes to plib/examples? They are required to build in Mac OS X Changes required to build plib examples on mac os x -- start ------------------------------------------------------------------------ ---------- To use plib installed in a non-standard directory, I needed to set: setenv LDFLAGS -L/FlightGear/fgdev9.6/lib setenv CPPFLAGS -I/FlightGear/fgdev9.6/include (these are uppercase L (LDFLAGS) and uppercase I (CPPFLAGS), BTW) before running ./configure in the ./examples direction Maybe the above could just be noted in the examples readme about non-standard lib directories. I then needed to modify js_demo_LDADD to add a few frameworks js_demo_LDADD = -lplibjs -lplibul -framework IOKit -framework CoreFoundation in the ./examples/src/js/makefile. I also needed to change ./examples/src/ssg/majik/makefile to add -framework IOKit -framework CoreFoundation to the end of majik_demo_LDADD giving majik_demo_LDADD = -lplibjs -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) -framework IOKit -framework CoreFoundation I also needed to change ./examples/src/pw/makefile to add -framework IOKit -framework CoreFoundation -framework ApplicationServices -framework Carbon to pw_demo_LDFLAGS giving pw_demo_LDFLAGS = -framework IOKit -framework CoreFoundation -framework ApplicationServices -framework Carbon I added the same to pw_pui_LDFLAGS in the same file lorenz.cxx doesn't seem to exist and broke the build I created lorenz.cxx containing main() { } and rebuilt. No idea what this is. ------------------------------------------------------------------------ ---------- Changes required to build plib examples on mac os x -- end Thanks! Ima |