[opensource-dev] C++ Need help to resolve stdint.h typedef conflicts between Quicktime and VS2010

Kent Quirk (Q Linden) q at lindenlab.com
Mon Jan 31 12:11:00 PST 2011


Looks like there are two versions of stdint.h accessible in your build -- one in GNUCompatibility, and one in VC.

I'm not sure why you're finding different ones in different order, but you want to make sure that you're using the same library search path everywhere. If your library search path includes . or .. you may need to put them late in the path so that some local version doesn't override the system version.

   Q

On Jan 30, 2011, at 8:38 AM, Nicky Perian wrote:

>  media_plugin_quicktime.cpp
> C:\Program Files (x86)\QuickTime SDK\CIncludes\GNUCompatibility/stdint.h(49): error C2371: 'int_fast16_t' : redefinition; different basic types
>           C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdint.h(34) : see declaration of 'int_fast16_t'
> 
> there are more errors like these but the same header just different int's
> 
> I have tried #include <stdint.h> and #undef and that doesn't help.
> 
> Need help as my C++ knowledge sucks.
> 
> But, I m trying to improve.
> 
> Nicky
> 
> 
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting privileges

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110131/53948156/attachment.htm 


More information about the opensource-dev mailing list