Hi,

Apparently the only problem was that I had Qt 32bits only. I updated
Qt to the latest version with cocoa and 64b support and OSG 2.9.9
compiled without complain.

Thanks for the help anyway.  ;-)

-- A.


On Tue, Sep 28, 2010 at 12:58 PM, Alejandro Aguilar Sierra
<algsie...@gmail.com> wrote:
> Hello:
>
> I am trying to compile 2.9.9 in a Mac OSX 10.6 snow leopard and I got
> a problem with Qt (error log below). In fact it would be better if I
> can compile it without Qt.
>
> Any hint?
>
> Regards,
>
> --
> Alejandro
>
>
> [ 98%] Building CXX object
> src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.cpp.o
> In file included from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,
>                 from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,
>                 from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:45,
>                 from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qfont.h:45,
>                 from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/QFont:1,
>                 from
> /Users/ale/src/OpenSceneGraph-2.9.9/include/osgQt/QFontImplementation:19,
>                 from
> /Users/ale/src/OpenSceneGraph-2.9.9/src/osgQt/QFontImplementation.cpp:13:
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2:
> error: #error "You are building a 64-bit application, but using a
> 32-bit version of Qt. Check your build configuration."
> In file included from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qmatrix.h:46,
>                 from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qtransform.h:44,
>                 from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qimage.h:45,
>                 from
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/QImage:1,
>                 from
> /Users/ale/src/OpenSceneGraph-2.9.9/src/osgQt/QFontImplementation.cpp:21:
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qregion.h:
> In member function ‘OpaqueRgnHandle* QRegion::handle(bool) const’:
> /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qregion.h:160:
> error: ‘toQDRgn’ was not declared in this scope
> lipo: can't figure out the architecture type of:
> /var/folders/qE/qEL4-gb+HEiohD3qgoFONE+++TI/-Tmp-//ccGy7LHP.out
> make[2]: *** [src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.cpp.o] Error 
> 1
> make[1]: *** [src/osgQt/CMakeFiles/osgQt.dir/all] Error 2
> make: *** [all] Error 2
> Alejandro-Aguilar-Sierras-iMac:OpenSceneGraph-2.9.9 ale$ ccmake .
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to