Hi Robert,

I've double checked all the export set up in the headers and the
CMakeLists.txt, I can't spot anything amiss.  I'm afraid I'll have to
defer to Windows experts to solve this one as I can't do anything at
my end.

The error was a typo in the osgPresentation CMakeLists.txt. It defined OSGSIM_LIBRARY instead of OSGPRESENTATION_LIBRARY. Copy-paste anti-pattern strikes again. :-)

Fixed file attached (just so there's no ambiguity) and CC'ed to osg-submissions.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
IF(DYNAMIC_OPENSCENEGRAPH)
    ADD_DEFINITIONS(-DOSGPRESENTATION_LIBRARY)
ELSE()
    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
ENDIF()

SET(LIB_NAME osgPresentation)
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
SET(LIB_PUBLIC_HEADERS
    ${HEADER_PATH}/AnimationMaterial
    ${HEADER_PATH}/CompileSlideCallback
    ${HEADER_PATH}/PickEventHandler
    ${HEADER_PATH}/SlideEventHandler
    ${HEADER_PATH}/SlideShowConstructor
)

# FIXME: For OS X, need flag for Framework or dylib
ADD_LIBRARY(${LIB_NAME}
    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
    ${LIB_PUBLIC_HEADERS}
    AnimationMaterial.cpp
    CompileSlideCallback.cpp
    PickEventHandler.cpp
    SlideEventHandler.cpp
    SlideShowConstructor.cpp
    ${OPENSCENEGRAPH_VERSIONINFO_RC}
)

LINK_INTERNAL(${LIB_NAME}
    osgViewer
    osgVolume
    osgFX
    osgText
    osgUtil
    osgDB
    osg
    OpenThreads
)
LINK_CORELIB_DEFAULT(${LIB_NAME})

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

Reply via email to