James Turner writes:
> BTW, I haven't even got as far as linking due to problems with PLIB CVS  
> versions (Mac gcc keeps moaning about Plib's ul.h, it seems to be  
> getting included as C file, not a C++ one, and hence function  
> overloading is not permitted). Haven't taken this up with the plib guys  
> yet.

I seem to recall someone saying that anything installed in
/usr/include on a Mac get's automatically wrapped with something like:

  extern "C" { }

This is annoying because plib automatically installs in /usr/lib (even
though it really shouldn't.) :-)

The trick is to override the install location at configure time with
something like:

  ./configure --prefix=/usr/local

Regards,

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to