From: Ignacio E. G. <na...@gm...> - 2010-02-14 06:36:55
|
It's been a long time,... Did you succeed in compiling the sample program in Xcode? I couldn't. There is also a thread I began last year in stackoverflow.com http://stackoverflow.com/questions/1678828/openvrml-in-snow-leopard-from-macports I wonder what is wrong? Does any one have info about this. Thanks Braden McDaniel wrote: > > On Sun, 2009-11-08 at 22:51 +0900, Ignacio Enriquez wrote: >> Hi, everyone. >> I have been looking for updated info about how to get some of the >> examples running in Mac OS 10.6 (Snow Leopard) >> >> I could install openvrml with macports (port install openvrml) >> I tried to build Pretty_print sample project in Xcode (from the >> examples folder from sourceforge download) >> So I copied >> pretty_print.cpp in a new "C++ stdc++" command line project >> And set >> Header Search Path : /opt/local/include (recursive) >> Library Search Path : /opt/local/lib (also with the recursive check) >> >> And most of the errors were gone except by these two. >> >> /Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++locale.h:80: >> error: 'vsnprintf' is not a member of 'std' >> /Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/complex:943: >> error: '__pow_helper' is not a member of 'std' >> >> those system header files seems to be referenced by some boost headers. > > I don't know that I trust the "recursive check" option for adding search > paths. Instead, it should be sufficient to add: > > /opt/local/include /opt/local/include/openvrml > >> I am lost with this error. >> I wonder what am I missing. > > I'm not sure exactly what's going on; but it is conceivable to me that > the recursive path check is causing headers to be included that > shouldn't be. > > Unfortunately, when I just tried this on Snow Leopard, I got an internal > compiler error. :-( I'm not really sure what to do about this. > > -- > Braden McDaniel <br...@en...> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > openvrml-develop mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openvrml-develop > > -- View this message in context: http://old.nabble.com/NEWBIE%3A-using-openvrml-in-mac-OS-10.6-tp26253956p27581209.html Sent from the openvrml-develop mailing list archive at Nabble.com. |