Hi Santosh,

On 2/4/09 4:44 AM, Santosh wrote:
Attached is the osg-plugin for reading ply ( Stanford Triangle Format )
file. I have written the plugin according to OSG standard and have also
added cmake build system. The plugin is working fine on both Linux and
Windows and should behave similarly on other OS as well.

I had trouble compiling this on OS X, it was complaining about undefined symbols which I believe is because you're only linking against osg, not osgUtil, etc.

However, I had a look at the CMakeFile and it contains way more than is necessary to compile a plugin. Attached is a shorter version modelled on the obj plugin. This builds fine on OS X.

Cheers!
/ulrich
SET(TARGET_SRC
  ReaderWriterPLY.cpp
  vertexData.cpp
  plyfile.cpp
)

SET(TARGET_H
  typedefs.h
  ply.h
  vertexData.h
)

SETUP_PLUGIN(ply)
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to