|
From: Braden M. <br...@en...> - 2009-11-09 04:24:36
|
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...>
|