[osg-users] [forum] how add SDL in osg project

Ivan Salguero r_kenshin182 at hotmail.com
Wed Nov 18 14:59:30 PST 2009


Hi,

when i compile osgmovie i have de next message
prueba.obj : error LNK2019: símbolo externo "__declspec(dllimport) public: float __thiscall osg::Image::getPixelAspectRatio(void)const " (__imp_?getPixelAspectRatio at Image@osg@@QBEMXZ) sin resolver al que se hace referencia en la función _main 
1>prueba.obj : error LNK2019: símbolo externo "__declspec(dllimport) public: class std::vector<class osg::ref_ptr<class osg::AudioStream>,class std::allocator<class osg::ref_ptr<class osg::AudioStream> > > & __thiscall osg::ImageStream::getAudioStreams(void)" (__imp_?getAudioStreams at ImageStream@osg@@QAEAAV?$vector at V?$ref_ptr at VAudioStream@osg@@@osg@@V?$allocator at V?$ref_ptr at VAudioStream@osg@@@osg@@@std@@@std@@XZ) sin resolver al que se hace referencia en la función _main 
1>C:\Documents and Settings\adminmulti\Mis documentos\RealidadVirtual\Pory\OSGpr\Debug\OSGpr.exe : fatal error LNK1120: 2 externos sin resolver 

i think that happen something in osg::Image::getPixelAspectRatio and i think that i need SDL but you say me that just i need add the cmake so the question is How add the cmake to my project???

... 


Thank you!

Cheers,
Ivan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19851#19851







More information about the osg-users mailing list