Hello list,

this is sort-of a n00b question so please be patient; I've been using OSG for
years but only just started with FG...

I'm using OSG SVN trunk on MacOS X and it works fine for my other projects, so
I'm pretty sure this is not an issue with the OSG installation.

However when attempting to compile FlightGear (from CVS) it gives me a weird
error compiling 'ATC/atis.cxx' (it's not this file that's causing the trouble,
it's just the first that includes OSG headers):

/usr/local/include/osg/BufferObject:191: error: expected ')' before '*' token
/usr/local/include/osg/BufferObject:192: error: expected ')' before '*' token
/usr/local/include/osg/BufferObject:193: error: expected ')' before '*' token
/usr/local/include/osg/BufferObject:194: error: expected ')' before '*' token
...(goes on for a bit)
/usr/local/include/osg/BufferObject:203: error: 'GenBuffersProc' does not name a
type
/usr/local/include/osg/BufferObject:204: error: 'BindBufferProc' does not name a
type
...(similar GL-related complaints)

After some digging it appears that for some reason 'APIENTRY' is not #defined
properly and is causing the compiler to cough up these errors.  (I assume the
rest is just follow-up errors.)

Is anyone running a similar config (MacOS X, OSG trunk, DarwinPorts) or can
maybe shed some light on the issue?

Thanks in advance,
/uli

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to