[osg-users] under devcpp , can't find dll to run program
aluaces at udc.es
Thu Oct 18 01:29:43 PDT 2007
El Thursday 18 October 2007 07:53:49 王韬 escribió:
> 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.
> 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
> cannot find -ljpeg collect2: ld returned 1 exit status
> make: *** [lib/osgPlugins-2.0.0/libosgdb_jpeg.dll] Error 1
> make: *** [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.
More information about the osg-users