Hi Robert,

 

I finished the 3rdParty package and will release it this days.

 

Regarding the latest NVTT there were some issues: OSG itself links only to
nvtt.lib. However, nvtt introduces some other NVTT dependencies: nvcore
nvmath, nvimage, and some others of that project.

 

To make the osg nvtt plugin compilable, you must either a) modifiy nvtt
project to link all this dependencies already into nvtt.lib or b) adjust the
osg nvtt plugin to link also against that dependencies.

 

 

To make the dependencies work more or less out of the box, I used option b)
and adjusted the osg nvtt plugin. Please find attached the modified files. 

 

Thanks for reviewing and mergin the changes.

 

Torben   

 

Attachments:

CMakeModules/FindNVTT.cmake

src/osgPlugins/nvtt/CMakeLists.txt

 

 

 

INCLUDE_DIRECTORIES( ${NVTT_INCLUDE_DIR} )


SET(TARGET_SRC
    NVTTImageProcessor.cpp
)

SET(TARGET_LIBRARIES_VARS NVTT_LIBRARY NVIMAGE_LIBRARY NVMATH_LIBRARY 
NVCORE_LIBRARY NVTHREAD_LIBRARY NVSQUISH_LIBRARY NVBC6H_LIBRARY NVBC7_LIBRARY)

#### end var setup  ###
SETUP_PLUGIN(nvtt)

Attachment: FindNVTT.CMAKE
Description: Binary data

_______________________________________________
osg-submissions mailing list
osg-submissions@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to