Hi list,

Then I needed to add some things to the "Plug 3d vrml" project settings:

- In Linker-General-Additional Library Directories, add the path(s) to
your 3rd
  party lib directory. Get it from the same place in another plugin,
for example
  "Plug other png", and copy-paste it there.
- In Linker-Input-Additional dependencies, add the following:
  * antlr.lib
  * regex.lib
  * libjpeg.lib
  * libpng.lib
  * zlib.lib
  * Ws2_32.lib

Speaking of that, here is a CMakeLists.txt that adds the required linker paths and libraries. This goes in src/osgPlugins/vrml obviously.

(P.S. cross-posting to osg-submissions)

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

INCLUDE_DIRECTORIES( ${OPENVRML_INCLUDE_DIR} ${OPENVRML_INCLUDE_DIR}/openvrml 
${JPEG_INCLUDE_DIR} ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})

SET(TARGET_SRC ReaderWriterVRML2.cpp )

SET(TARGET_LIBRARIES_VARS OPENVRML_LIBRARY JPEG_LIBRARY PNG_LIBRARY 
ZLIB_LIBRARY)
SET(TARGET_ADDED_LIBRARIES antlr.lib regex.lib Ws2_32.lib)

#### end var setup  ###
SETUP_PLUGIN(vrml)
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to