hi Alberto, I really thanks.
and i seems OK ,at least for osgtext. thanks. [EMAIL PROTECTED] 2007-10-19 ----- Original Message ----- From: Alberto Luaces To: OpenSceneGraph Users Sent: 2007-10-18, 16:29:43 Subject: Re: [osg-users] under devcpp , can't find dll to run program Hi, El Thursday 18 October 2007 07:53:49 王韬 escribió: > 1. > i have copy freetype6.dll to the same folder where osgtext exists. > but when i execute osgtext ,it pops a error: > can't find the entry point _FT_Done_Face in freetype6.dll I think this happens because that freetype6.dll version does not match the one you used for compiling OSG, but I have seen that you solved this issue with your point 2, so it should not be a problem anymore. > 2. > I download plugin's dll (freetype6.dll,jpeg62.dll...), > and use command > pexports freetype6.dll | sed "s/^_//" > freetype6.def > dlltool -U -d freetype6.def -l libfreetype.a > to change them to .a , and compiles OSG OK. > > if use jpeg62.dll directly,there will be a error while linking: > > Linking CXX shared module ../../../lib/osgPlugins-2.0.0/libosgdb_jpeg.dll > C:\Dev-Cpp\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: > cannot find -ljpeg collect2: ld returned 1 exit status > make[2]: *** [lib/osgPlugins-2.0.0/libosgdb_jpeg.dll] Error 1 > make[1]: *** [src/osgPlugins/jpeg/CMakeFiles/osgdb_jpeg.dir/all] Error 2 > make: *** [all] Error 2 It seems that the Makefile does not know where the jpeg library is found at compilation time. Please run ccmake again and, in the "advanced options" menu, set the JPEG_INCLUDE_DIR and JPEG_LIBRARY fields to their appropriate values, that is, the directory where the jpeg headers live and the path to the import library. Alberto _______________________________________________ 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