According to there should be no dependency on PLIP windowing library (pw). I found that FG/src/GUI/layout_test.cxx uses plip/pw.h. Since I am building flighgear on a 64-bit mac layout_test.cxx does not compile. This is a consequence from the fact that Carbon is not available as a 64-bit library, and PLIB only supports Carbon for Mac OS X. I am using the 64-bit enabled Cocoa which, luckily for me, is supported by OSG.

I suggest that layout_test is rewritten and the PLIB pw dependency is removed, and thus making the statement regarding PLIB in correct. Another option is to change the wiki page.

Also, I think that test programs should in general be created by issuing 'make check'. I have attached a trivial patch that moves compilation of layout_test as a part of 'make check' instead of a simple 'make'. It does not resolve the issue with PLIB pw dependence but allows mac 64-bit users to compile the essential components of the flightgear source.

Can someone please commit the patch to the CVS?


Index: src/GUI/
RCS file: /var/cvs/FlightGear-0.9/source/src/GUI/,v
retrieving revision 1.23
diff -u -p -r1.23
--- src/GUI/ 16 Sep 2009 17:07:59 -0000      1.23
+++ src/GUI/ 31 Oct 2009 19:00:48 -0000
@@ -1,5 +1,5 @@
 noinst_LIBRARIES = libGUI.a
-noinst_PROGRAMS = layout-test
+check_PROGRAMS = layout-test
 layout_test_PLIB_FW = $(plib_FRAMEWORK)
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
Flightgear-devel mailing list

Reply via email to