Hi Dat, check whether osgdb_jpeg library is present in osg's bin or plugins directory. If it is present, then ensure that it's accessible by your application (as a matter of fact, by your operating system's dynamic linker; good starting point could be copying osgdb_jpeg library into your application's directory).
If osgdb_jpeg does not exist, you need to build it. What you have installed could be GnuWin32 port of jpeg library, which is a dependency of osgdb_jpeg, which is exactly what you need. As Michael suggested; if you have built OpenSceneGraph from sources, you may need to rerun CMake by setting JPEG library settings or you may try to build (and even create) osgdb_jpeg project individually. I haven't tried with jpeg module but I have built freetype myself on a Windows. Due to include directory confusion, I left freetype settings blank when I ran CMake first time. I have added (or may be I have created) osgdb_freetype project manually, added source and adjusted settings. You may try to build this library separately, if you want to save some (!) time, instead of building whole osg. Follow guidelines about paths on osg web site. See path settings on top of this page: http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/Examples Ismail On Thu, Apr 9, 2009 at 1:04 AM, tien dat <tienda...@gmail.com> wrote: > Hi Gordon, > Thank you for your answer. I follow your link to download the setup program > and install it. But there is no further instruction how to do next. I try to > re-run my program but the error doesn't go away. > Could you please tell me what to do next. > Thanks a bunch, > Dat > > On Wed, Apr 8, 2009 at 3:20 PM, Tomlinson, Gordon > <gtomlin...@overwatch.textron.com> wrote: >> >> see >> >> http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies >> >> >> >> Gordon >> Product Manager 3d >> __________________________________________________________ >> Gordon Tomlinson >> Email : gtomlinson @ overwatch.textron.com >> __________________________________________________________ >> >> >> ________________________________ >> From: osg-users-boun...@lists.openscenegraph.org >> [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of tien dat >> Sent: Wednesday, April 08, 2009 3:50 PM >> To: Robert Osfield; OpenSceneGraph Users >> Subject: [osg-users] plugin to read .jpg files >> >> Dear all, >> I have a problem with reading .jpg files with OpenSceneGraph (warning: >> "Could not find plugin to read objects from file X.jpg"). I see a source >> file in osgPlugin/jpeg but don't know how to use it. Could you tell me how >> to compile these files. >> Thanks, >> Dat >> >> >> >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > > > -- > ------------- > Dat Tien Nguyen > PhD student, Computer Science Department > The University of Iowa, IA 52242 > http://cs.uiowa.edu/~tinguyen > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org