On May 11, 2007, at 2:52 AM, Robert Osfield wrote:

Hi Doug,

On 5/11/07, Doug McCorkle <[EMAIL PROTECTED]> wrote:
Hello,
      With the CMake build of the osgdb_pfb plugin the link line
appears to need this dir /usr/lib/libpfdb  and the pfdb library
removed from the link line. With those changes the plugin built fine
on RHEL 4.

I have do write the src/osgPlugins/pfb/CMakeLists.txt file blind (I
don't have Performer installed) so I am quite pleasantly surprised it
too so few tweaks to get it work ;-)

Could you send me the modified file so I can merge it.

Cheers,
Robert.

I am not sure how to add another lib directory so I do not do that. I removed pfdb library though. When I made changes to get things to build I edited the link and relink text files. 

Doug


INCLUDE_DIRECTORIES( ${PERFORMER_INCLUDE_DIR} )

SET(TARGET_SRC 
    ReaderWriterPFB.cpp
    ConvertFromPerformer.cpp
)

SET(TARGET_H 
    ConvertFromPerformer.h
)

SET(TARGET_EXTERNAL_LIBRARIES 
    pf3ds pfdem pfdted pfdwb pfdxf pfevt
    pfflt pfgds pfgfo pfim pflsa pflsb
    pfnff pfobj pfpegg pfpfb pfphd pfpts
    pfrot pfscale pfsgf pfsgo pfsphere pfsv
    pftri pfunc pfvct pfdu pfutil
)

SET(TARGET_LIBRARIES_VARS PERFORMER_LIBRARY )

#### end var setup  ###
SETUP_PLUGIN(pfb)




_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to