OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Json plugin not compiling on windows using MINGW


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
s0311
Newbie


Joined: 23 Aug 2015
Posts: 1

PostPosted: Sun Aug 23, 2015 7:15 pm    Post subject:
Json plugin not compiling on windows using MINGW
Reply with quote

Hi,

File: JSON_Objects
Problem: error: conflicting declaration 'typedef long unsigned int uint32_t'
typedef unsigned __int32 uint32_t;

An example of solving the problem:

< #if defined(__MINGW32__) || (!defined(_MSC_VER) || _MSC_VER<1600)
---
> #if (defined(__MINGW32__) && __GNUC__<=4 && __GNUC_MINOR__<8 ) || (!defined(__MINGW32__)&&(!defined(_MSC_VER) || _MSC_VER<1600))


Thank you!

Cheers,
Sergey
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem compiling OSG 3.4.1 osgDB 64 bit tonyor Build system [build] 0 Thu Sep 21, 2017 12:41 am View latest post
No new posts obj plugin does not support diffuse a... Ralf Habacker General 1 Tue Sep 19, 2017 6:21 am View latest post
No new posts Faster framerate under Windows debugger? Chris Hanson General 1 Fri Sep 08, 2017 3:52 pm View latest post
No new posts LIDAR plugin Michael W. Hall General 11 Fri Sep 01, 2017 1:49 am View latest post
No new posts PLY Plugin robertosfield Submission 0 Tue Aug 15, 2017 2:45 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP