Hi Laurence,

@Jean-S

(1) libjpeg
That's strange, I don't know if mingw32 on ubuntu is using the same files as on windows. I'm currently not using the offical verison of MinGW (latest verison 5.1.6, http://sourceforge.net/projects/mingw/files/) because it is using a GCC compiler version 3.x. Instead I'm using a build from http://nuwen.net/mingw.html#download (currently using 4.3) which is bundled with a more recent GCC compiler (version 4.3.3). The package also includes libjpeg version 7.

Yes, and I'm using the same installer to test with. I actually started with your tutorial on installing MinGW and MSYS, and then customized a few things. :-)

(2) freetype
While this indeed solve the issue without modifying the code, it moves the problem to the shell. Since users still need to manually type this fix...

But I think it's better to make the code general and let links handle the difference than the opposite. Else the code becomes a spaghetti of #if(MINGW) #elsif(...) ...

A symlink is a simple and clean way to make your system's directory structure look more standard. Since thousands of developers actively use OSG on various flavors of Linux, and it uses <freetype/...>, I think making MinGW follow this (even if by default it puts the headers in <freetype2/...>) is a more general solution.

(3) curl
That should probably do the trick, I'll see if I can make it work.

I've actually fixed the problem in my local checkout at home, but I had a few more tests to do yesterday and it was late so I opted to go sleep and send the fixes tomorrow (today). So I will hopefully send the fixes I needed to use to build OSG on MinGW/MSYS tonight. I had a few more fixes to make than what you said, but perhaps they're in things you didn't opt to compile, like osgmovie, osgviewerSDL, the TXP plugin, ...

Stay tuned,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to