[osg-users] running vrml plugin on 2.0

Jean-Sébastien Guay jean-sebastien.guay at polymtl.ca
Mon Jul 23 19:16:18 PDT 2007


Hello Bryan,

> So I reran the cmake with the instructions specified by J.S. but
> unfortunately when I try building the INSTALL file get the following errors
> (see below):

I thought your VRML plugin was building correctly? At least in your  
previous message you said the plugin built without errors... This  
seems not to be the case, since the error you get when building the  
INSTALL target is that it can't find the compiled VRML plugin.

Once your VRML plugin compiles, the INSTALL target should copy all the  
files to the correct locations, and you should be able to start  
osgviewer and see something. :-)

> The vrml plugin  yields the same old errors as before (unfortunately since
> the old  server crashed I dont have access to those
> lib suggestions - maybe J.S. if you still have that email you could resend
> it) ...

Here's the relevant part of that message:

> You're missing openvrml's prerequisite libraries:
>
> libjpegD.lib
> libpngD.lib
> zlibD.lib
> Ws2_32.lib
>
> OpenVRML depends on libjpeg, libpng and zlib, and Ws2_32.lib is
> Windows's sockets library which OpenVRML needs on Windows only to be
> able to open network sockets.
>
> You can add those (and do the same for the release build, without the D
> for the first three) and you should hopefully be able to build it
> successfully.
>
> Now, those four should have been added automatically by CMake when you
> re-ran it. You did re-run it, did you? If so, then next time try
> deleting the CMakeCache.txt file from your build directory and
> re-running it then. Those four libs should then be there. Sometimes the
> CMakeCache.txt gets in the way when something major changes in the
> CMake config files for the project...

But can I assume that since you're asking, it means that those libs  
were not added by default? I never had to add those manually... So  
maybe delete your build\CMakeCache.txt file and re-do the CMake  
configuration, to see if they are being added correctly or not.

Good luck,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     jean-sebastien.guay at polymtl.ca
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the osg-users mailing list