Hi,
I am not managing to create a node .wrl file.
Meaning this code return NULL instead of a node.
Code:
osg::ref_ptr<osg::Node>
test(osgDB::readNodeFile("/Users/Simon/Desktop/ProjetInvir/projet.wrl"));
So I tried to install Coin3D framework prior to compile OSG to read such file.
But then, while trying to install OSG with Coin3D framework installed I get
this error :
Code:
ld: warning: in /Library/Frameworks//Inventor.framework/Inventor, missing
required architecture x86_64 in file
Undefined symbols:
"SoMaterial::SoMaterial()", referenced from:
ConvertToInventor::createInventorState(osg::StateSet const*) in
ConvertToInventor.cpp.o
processPrimitiveSet(osg::Geometry const*, osg::PrimitiveSet const*,
osg::TemplateIndexArray<unsigned int, (osg::Array::Type)6, 1, 5125>*, bool,
int, int, int, int, int&, int&, SoNode*, SoNormal*, SoNode*, SoNode*, SoNode*,
SoShape*, SoSeparator*&, SoSeparator*&)in ConvertToInventor.cpp.o
ConvertToInventor::processGeometry(osg::Geometry const*,
ConvertToInventor::InventorState*)in ConvertToInventor.cpp.o
... etc, and the install does not finish.
I tried using CMAKE_OSX_ARCHITECTURES=i386 to see if it would solve the
problem, and it does not.
Maybe I am not folllowing the right method to compile OSG (Coin3D framework
then OSG).
Is wrl format usually supported without Coin3D framework?
Thanks for any idea to help me move forward,
Cheers,
Simon
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47199#47199
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org