According to http://wiki.flightgear.org/index.php/Plib 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
http://wiki.flightgear.org/index.php/Plib 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?
Cheers,
Jari
Index: src/GUI/Makefile.am
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/GUI/Makefile.am,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile.am
--- src/GUI/Makefile.am 16 Sep 2009 17:07:59 -0000 1.23
+++ src/GUI/Makefile.am 31 Oct 2009 19:00:48 -0000
@@ -1,5 +1,5 @@
noinst_LIBRARIES = libGUI.a
-noinst_PROGRAMS = layout-test
+check_PROGRAMS = layout-test
if HAVE_FRAMEWORK_PLIB
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!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel