[osg-users] problem compiling OSG2.4 on MinGW

Linh Phan phan at mail.jpl.nasa.gov
Fri May 2 10:40:00 PDT 2008


I did that and it passed that problem.  Now I'll just keep getting the 
sources of the missing libraries and compile it myself; I was hoping 
someone would have all the MinGW compiled osg dependent libraries 
available on the web.

Thanks Philip,

Linh
Philip Lowman wrote:

> On Thu, May 1, 2008 at 5:43 PM, Linh Phan <phan at mail.jpl.nasa.gov 
> <mailto:phan at mail.jpl.nasa.gov>> wrote:
>
>     Hi,
>
>      I'm having a "cannot find -ljpeg" problem compiling OSG2.4 on MinGW,
>     but when I do a ls on C:/Program Files/OpenSceneGraph/lib, I see:
>
>     C:/Program Files/OpenSceneGraph/lib/libjpeg.lib
>     C:/Program Files/OpenSceneGraph/lib/libjpegD.lib
>
>     (these are Michael's Prebuilt OSG binaries for Windows.)  Do you know
>     what I did wrong?
>
>
> You did nothing wrong, this is an existing issue I've come across 
> before too.  The Find modules distributed as part of OSG with CMake 
> search C:/Program Files/OpenSceneGraph/lib at configure time (not sure 
> why).  I mentioned this on osg-users a while back and nobody seemed to 
> care much.  This probably should be changed, though.  It might cause 
> some people a bit of grief though if they are relying on installing 
> the prebuilt OSG binaries to pick up 3rd-party dependencies for VS8 
> instead of simply using the 3rd party deps repository when they 
> compile their own builds of the OSG.
>
> Your best workaround for now is to search through the CMake cache 
> using the GUI and fix any places where you see a reference to a ".lib" 
> file with an actual MinGW-compiled library, aka ".dll.a" or ".a" file.
>
> -- 
> Philip Lowman
>
>------------------------------------------------------------------------
>
>_______________________________________________
>osg-users mailing list
>osg-users at lists.openscenegraph.org
>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080502/e436ee5f/attachment.htm 


More information about the osg-users mailing list