Hi, El Wednesday 17 October 2007 12:06:18 王韬 escribió: > I have compiled osg without example under devcpp(4.9.9.2) > successfully,and get all dlls.(I downloaded the plugin's dlls and changed > them to .a)
You shouldn't have to rename any dll. Mingw gcc, the compiler that devcpp uses, is usually clever enough to link to a dll. In fact, a ".a" lib is in the mingw world either a static library or an import library, but never a dynamic library. > but,i compiled the osgtext example and when run it, error > popped that it can't find freetype6.dll (why need it?), but > libosgdb_freetype.dll (all dlls) is in the same folder. You need freetype6.dll because libosgdb_freetype.dll is a plugin that deals with the Freetype integration into OSG, so the Freetype functionality is still found on its own dll. Make sure freetype6.dll is in your PATH or copy it beside libosgdb_freetype.dll. Alberto _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

