[osg-users] [build] osgslice build failure on OSX
Ravi Mathur
ravidavi at utexas.edu
Mon Sep 9 09:45:50 PDT 2019
Hi all,
Has anyone using OSX noticed that the osgslice example does not build? This prevents OSG from building on OSX out of the box. I'm currently using OSX 10.14.6 & XCode 10.3, but it's been happening for over a year now.
Code:
[100%] Linking CXX executable ../../bin/osgslice
Undefined symbols for architecture x86_64:
"_graphicswindow_Carbon", referenced from:
__GLOBAL__sub_I_osgslice.cpp in osgslice.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/osgslice] Error 1
make[2]: *** [examples/osgslice/CMakeFiles/example_osgslice.dir/all] Error 2
make[1]: *** [examples/osgslice/CMakeFiles/example_osgslice.dir/rule] Error 2
make: *** [example_osgslice] Error 2
I usually circumvent this by just commenting out the osgslice example in examples/CMakeLists.txt . Does anyone else approach this differently?
Thanks,
Ravi
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76656#76656
More information about the osg-users
mailing list