Unfortunately the ATSU framework has been deprecated since 10.4, and was
removed in 10.6.  Until the font code has been updated you will have to
build against the 10.5 or earlier dev kits on OS X.


On Sun, Mar 7, 2010 at 11:54 AM, Schaefer Johannes <
johannes.schae...@ipk.fraunhofer.de> wrote:

> hi,
>
> it seams that there are also carbon dependencies in the osg system lib.
> there are many error messages like the following.
>
> /Users/Johannes/Programmierung/FHG/OpenSG/OpenSG/Source/System/Text/OSGTextMacBackend.cpp:241:
> error: 'ATSUFindFontName' was not declared in this scope
> /Users/Johannes/Programmierung/FHG/OpenSG/OpenSG/Source/System/Text/OSGTextMacBackend.cpp:246:
> error: 'ATSUGetIndFontName' was not declared in this scope
> /Users/Johannes/Programmierung/FHG/OpenSG/OpenSG/Source/System/Text/OSGTextMacBackend.cpp:303:
> error: 'ATSUFontCount' was not declared in this scope
>
> any idea how to fix this?
>
> thanks, johannes.
>
> -----Ursprüngliche Nachricht-----
> Von: Ákos Balázs [mailto:edhel...@cs.uni-bonn.de]
> Gesendet: So 07.03.2010 17:42
> An: opensg-users@lists.sourceforge.net
> Betreff: Re: [Opensg-users] Compiling under Mac OS X 10.6 Snow Leopard
>
> Hi Johannes,
>
> On Sun, Mar 7, 2010 at 4:45 PM, Schaefer Johannes
> <johannes.schae...@ipk.fraunhofer.de> wrote:
> > hi guys,
> >
> > i am trying to compile opensg 1.8 (the newest cvs version) under snow
> leopard. unfortunately there seams to be no easy way to do this.
> > scons ends with a syntax error:
> > $./scons -h
> > /Users/Johannes/OpenSG/SConsLocal/scons-local-0.96.1/SCons/Sig/MD5.py:41:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> >  md5 = imp.load_module('md5', file, name, desc)
> > scons: Reading SConscript files ...
> >
> /Users/Johannes/OpenSG/SConsLocal/scons-local-0.96.1/SCons/Platform/posix.py:37:
> DeprecationWarning: The popen2 module is deprecated.  Use the subprocess
> module.
> >  import popen2
> >  File
> "/Users/Johannes/OpenSG/SConsLocal/scons-local-0.96.1/SCons/Tool/gas.py",
> line 36
> >
> >    import as
> >
> >            ^
> >
> > SyntaxError: invalid syntax
>
> I suppose Snow Leopard comes with Python 2.5 or 2.6, it seems you've
> run into the same problem as Jose recently. The scons script supplied
> with OpenSG 1.x unfortunately doesn't work with anything later than
> Python 2.4, unfortunately.
>
> > using configure & make the compiler stopps because of missing a 64bit
> version of carbon (i guess).
>
> I've only built in it on Leopard, but I don't think the
> OSGCarbonWindow stuff is strictly necessary, plus there seem to be a
> CocoaWindow lib aswell (I unfortunately don't remember which one is
> used on my OSX box) -- are you sure the rest (Base, System, etc.)
> builds successfully? If so, you may try to call ./configure with the
> "--without-WindowCarbon" (or similar) flag and see if that helps.
>
> HTH,
>
>        Ákos
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to