[osg-users] under devcpp , can't find dll to run program

王韬 wontor at gmail.com
Thu Oct 18 18:54:34 PDT 2007

hi Alberto,

I really thanks.

and i seems OK ,at least for osgtext.


王韬,wontor at gmail.com
----- 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


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.


osg-users mailing list
osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071019/7f83154c/attachment-0003.htm>

More information about the osg-users mailing list