[osg-users] [build] setting osgviewer's path
Hi, I uninstalled a previous macports osg version and it turns that osgviewer (and I am afraid not only) of my current install was configured to look for the plugins in that (i.e. macports) default location. Putting up the custom-plugins osgd_ABCD.so location into my path does not help. How do I fix that so that a simple osgviewer osg works? Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35444#35444 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi, sorry for that, I also missed your reply for a strange reason.. Now osg builds, but I cannot test it, see below nyiotis wrote: Hi again, 'osgversion' correctly outputs OpenSceneGraph Library 2.8.3 and the osglogo fails with 'osglogo: command not found' My edited .profile: PATH=$PATH:/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph/Bin export OSG_FILE_PATH=/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph-Data-2.8.0 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph/Bin/lib/Debug #export DYLD_BIND_AT_LAUNCH export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph/Bin/lib/Debug I cannot check in the site (it seems down all day) if I am missing something. Cheers, Nikos Thank you! Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35396#35396 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1 [SOLVED]
Hi, amazed by your super-detailed answer, thanks! You are right w/ all these continuous builts I forgot the Release build. So, I will fix this soon Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35399#35399 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi, consider this solved Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35400#35400 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1 [SOLVED]
Hi, all set-up properly! Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35420#35420 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
I assume you mean CMakeCache.txt rather than CMakeLists.txt? CMakeCache.txt sounds like a better way, yes Did you set OSG_WINDOWING_SYSTEM:STRING=Cocoa? yes No, you shouldn't need to make any changes in any CMakeLists.txt, only in the cmake UI or CMakeCache.txt directly. The error sounds like OSG_WINDOWING_SYSTEM is not set properly and it's trying to use the wrong windowing system implementation. could you send me the link for the trunk? Cheers, /ulrich ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Post generated by Mail2Forum[/quote] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35358#35358 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Thank J-S, it builds (no matter the duplicate dylib warnings) Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35381#35381 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1 [SOLVED]
Hi again, 'osgversion' correctly outputs OpenSceneGraph Library 2.8.3 and the osglogo fails with 'osglogo: command not found' My edited .profile: PATH=$PATH:/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph/Bin export OSG_FILE_PATH=/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph-Data-2.8.0 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph/Bin/lib/Debug #export DYLD_BIND_AT_LAUNCH export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph/Bin/lib/Debug I cannot check in the site (it seems down all day) if I am missing something. Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35386#35386 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi Ulrich, strange.. I tweaked the CmakeLists.txt a bit: among others I add BUILD_OSG_EXAMPLES=ON and I go with COCOA_LIBRARY /System/Library/Frameworks/Cocoa.framework but now I have compiling issues: example_osgviewerQT does not built I get error: 'osgViewer::GraphicsWindowCarbon' has not been declared from typedef osgViewer::GraphicsWindowCarbon::WindowData WindowData; and similar ones. Should I kill example_osgviewerQT (I hope there is an example_osgviewerQT for Cocoa) and uncomment FIND_LIBRARY(CARBON_LIBRARY Carbon) in l.146 of CmakeLists? More importantly, it cannot detect wxWidget, hence I get undefined symbols from linker. For detecting wxWidgets my config in cmake gui is wxWidgets_CONFIG_EXECUTABLE /usr/lib/wx/config/mac-unicode-debug-2.8 wxWidgets_wxrc_EXECUTABLE /usr/bin/wxrc-2.8 Also, not of equal importance, I cannot get rid of the linker warnings w.r.t. duplicate dylibs, e.g. /Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph/Bin/lib/Debug/libOpenThreadsd.dylib Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35325#35325 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi, re-read your first post and commented out the wx 32-bit stuff #SET(wxWidgets_USE_LIBS base core gl net) #FIND_PACKAGE(wxWidgets) let's find out.. Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35329#35329 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi, re-read your first post and commented out the wx 32-bit stuff #SET(wxWidgets_USE_LIBS base core gl net) #FIND_PACKAGE(wxWidgets) let's find out.. Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35330#35330 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
OK, now the only catch is to disable example_osgviewerQT.. How? It does not appear in the CMakeLists Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35340#35340 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi, I thought OSG_NOTIFY_LEVEL was a cmake flag not an env. flag. So I built source from scratch, generating xcode.proj and not makefile this time. I set OSG_WINDOWING_SYSTEM to Cocoa (from Carbon) OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX to imageio (from quicktime) and it builds, although I get many warnings -literally for each .dylib used-, e.g. ld: warning: duplicate dylib /Users/nikos/NetBeansProjects/OpenSceneGraph/OpenSceneGraph-2.8.3/Bin/lib/Debug/libosgTextd.dylib How can I suppress this? Now osgversion outputs OpenSceneGraph Library 2.8.3 and the osglogo fails again now with osglogo: command not found I set the OSG_NOTIFY_LEVEL to DEBUG_INFO although $ENV_PATH gives me a blank line...the path is correctly highlighted though. I've seen this blank line before, but a quick search does not give me any hints on how to fix that. Thank you! Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35291#35291 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
I ran OSG_NOTIFY_LEVEL=debug through a script, but my echo $ENV_PATH still appears blank. How can I verify that it is set? Again, all set with PATH, DYLB_PATH, etc. Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35313#35313 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi, while my earlier built was successful ([i]osgversion[/i] outputs [i]OpenSceneGraph Library 2.8.3 [/i]) the [i]osglogo[/i] fails. I get: [i]Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface available, cannot create windows. Viewer::realize() - failed to set up any windows [/i] Any ideas how to fix that? Thank you! Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35285#35285 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi Ulrike, Thanks! a 64-bit flag was enough (it also removes benign warnings from the cmake 32-bit built). I don't really get the mess with 64/32 versions from macports once snow leopard showed up, but that's a long (and another) story.. Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=34224#34224 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1
Hi, I get the attached warnings and linking errors ending up to Code: ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [lib/libosgViewer.2.9.10.dylib] Error 1 make[1]: *** [src/osgViewer/CMakeFiles/osgViewer.dir/all] Error 2 make: *** [all] Error 2 when I try to build the latest svn of osg with Cmake 2.8-2 (at first, I delete the ppc arch flag). Any ideas on what's wrong? Cheers! nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=34171#34171 Attachments: http://forum.openscenegraph.org//files/osg_385.zip ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org