Hi Janatan,

I'm not  Window users myself, but from reading the list I have picked
up that the VisualStudio binaries aren't compatible with other version
of VS let alone other compilers completely...  So my guess is that you
will have to compile the dependencies using Mingw if you wish to use
them.

Robert.

On Mon, Feb 23, 2009 at 11:20 AM, Jonatan <osgfo...@tevs.eu> wrote:
> Hi,
>
> I am trying to build the OSG libraries under Windows XP (so I can use them 
> for c++ development using mingw32 compiler)
>
> I have downloaded and extracted the source zip to Desktop\OpenSceneGraph-2.8.0
> then I created a folder OSGBuild on the desktop, as build location.
> I checked out the dependencies from svn, to the folder OSGDep (somewhere else 
> on the system)
> I configured OSG using cmake-gui, and set the path to OSGDep as 
> CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH and CMAKE_PREFIX_PATH.
>
> But when building, it stops when creating mingw_osgdb_jpeg.dll
> This is the output:
>
>
> Code:
> Warning: .drectve `/manifestdependency:"type='win32' 
> name='Microsoft.VC80.CRT' v
> ersion='8.0.50727.762' processorArchitecture='x86' 
> publicKeyToken='1fc8b3b9a1e18
> e3b'" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
> Warning: .drectve `/manifestdependency:"type='win32' 
> name='Microsoft.VC80.CRT' v
> ersion='8.0.50727.762' processorArchitecture='x86' 
> publicKeyToken='1fc8b3b9a1e18
> e3b'" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
> Warning: .drectve `/manifestdependency:"type='win32' 
> name='Microsoft.VC80.CRT' v
> ersion='8.0.50727.762' processorArchitecture='x86' 
> publicKeyToken='1fc8b3b9a1e18
> e3b'" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
>
> {... lots  more of these messages ...}
>
> C:\Documents and Settings\jbijl\My 
> Documents\workspace\OSGDep\lib\libjpeg.lib(je
> rror.obj):(.text+0x27): undefined reference to `__security_cookie'
> C:\Documents and Settings\jbijl\My 
> Documents\workspace\OSGDep\lib\libjpeg.lib(je
> rror.obj):(.text+0x55): undefined reference to `_imp____iob_func'
> C:\Documents and Settings\jbijl\My 
> Documents\workspace\OSGDep\lib\libjpeg.lib(je
> rror.obj):(.text+0x70): undefined reference to `...@__security_check_cookie@4'
> C:\Documents and Settings\jbijl\My 
> Documents\workspace\OSGDep\lib\libjpeg.lib(jd
> marker.obj):(.text+0x707): undefined reference to `__security_cookie'
>
> {... lots  more of these messages ...}
>
> follow
> collect2: ld returned 1 exit status
> mingw32-make[2]: *** [bin/osgPlugins-2.8.0/mingw_osgdb_jpeg.dll] Error 1
> mingw32-make[1]: *** [src/osgPlugins/jpeg/CMakeFiles/osgdb_jpeg.dir/all] 
> Error 2
>
> mingw32-make: *** [all] Error 2
>
>
>
> Could you please help me by either:
> telling me how to solve this
> telling me of another way to acquire the win32 mingw libraries I need to 
> develop software that uses OSG.
>
> thanks
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=7191#7191
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to