The fact that cmake try to compile osgdb_jpeg means Your FindJPEG does nopt return NOTFOUND, try to set Advanced view in cmake-gui and look what library/include it has found. If It point to lib that have been built with MSVC, it is very likely it does not work. So either you remove them or try to build jpeg lib from source with your mingw tool chain.
Or try to find a pre-built one with mingw.

If you dare to try the first solution, I have some cmakified sources that I use with VS71, get them from http://3d.cineca.it/storage/packages/3rdPartySrc_pack.zip and try to see if they compile with mingw (if you manage, send me patches, thanks), unzip the required files in -place as jpeg

Regarding pre-build libs, You probably know better how to get pre-built libraries with mingw, Otherwise, you can try to use the ebuild tool from winkde project: http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge I see they have quite a lot of package read for emerge, and mingw is probably better supported than msvc

Hope it helps


Jonatan ha scritto:
I am trying to compile the binaries myself, and if I succeed I do want to make them available for others. The problem is, that I get compilation errors for mingw_osgdb_jpeg.dll .
Does anybody know the solution to these errors?
(see my previous post/mail for the exact error messages)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7227#7227





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to