Hi,

On Mon, 2010-02-08 at 16:25 +0100, Michael Raab wrote:
> Hi,
> 
> OpenSG nearly compiles :-)
> But there's an issue during compilation of lib OSGImageFileIO:
> 
> OSGJPGImageFileType.cpp
> 22>c:\devel\opensgsupport\unpack\jpeg-6b\jmorecfg.h(161) : error C2371: 
> 'INT32' : redefinition; different basic types
> 22>        C:\Program Files (x86)\Microsoft Visual Studio 
> 8\VC\PlatformSDK\include\basetsd.h(62) : see declaration of 'INT32'
> 
> Seems that some symbols are both defined in system and libjpeg headers. Any 
> solutions or workarounds?

hmm, the strange thing is why
c:\devel\opensgsupport\unpack\jpeg-6b\jmorecfg.h 
shows up. If you followed 7a from the readme it should not happen. The
file should be taken from X:/...../<OpenSG-Support-Install-Dir>.

Did you manually add this path at one point in time ? With CMake you
have to be careful it caches an awful lot and not every module 
rechecks elements if they are already cached. If have manually set
some of the supportlib paths before switching to OSG_USE_OSGSUPPORT_LIBS
it is better to clean the cache and start fresh.

kind regards
  gerrot



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to