Hi Bjoern,

[EMAIL PROTECTED] wrote:
> Dear all,
> 
> I want to try out the OSGTerrain class in OpenSG 1.6, using the 
> testTerrain.cpp file I got  from the repository. Environment is Visual 
> Studio 2003 on Windows.
> 
> When I compile the linker fails with a couple of the following messages:
> 
> testTerrain.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osg::TerrainBase::setPerPixelLighting(bool const &)" 
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]) referenced in 
> function _main
> 
> testTerrain.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osg::TerrainBase::setDetail(float const &)" 
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]) referenced in function _main
> 
> etc ....
> 
> Looks like I am missing out libraries but I think that I included 
> everything I could find in OpenSG/lib.
> 
> Has somebody an idea?

Did you compile the Contrib lib yourself? Did you add the Terrain parts 
to it? By default the Terrain is not included, and neither is the 
Contrib library itself. AFAIR we don't have VS Project files for 
Contrib, can somebodt verify that?

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to