It is currently Sat Aug 22, 2020 1:34 pm


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: uint32_t was not declared in this scope
PostPosted: Fri Nov 23, 2012 8:23 pm 

Joined: Fri Nov 23, 2012 7:20 pm
Posts: 3
I'm able to get my project to build when I add =std=c++0x as a compiler flag to g++ but eclipse 's editor can't figure out the instances of uint32_t and other typedefs, reporting errors in the code (despite it compiling fine)

Does anybody have any advice on how to get eclipse to play nice with PolyVox and it's c++0x typedefs?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: uint32_t was not declared in this scope
PostPosted: Fri Nov 23, 2012 9:17 pm 
Developer
User avatar

Joined: Sun May 11, 2008 4:29 pm
Posts: 198
Location: UK
The first things we need to know is what version of PolyVox are you using (is it the 0.2 release from a few days ago or the version straight from Git?), what platform (Windows, Linux) and which compiler and version?

_________________
Matt Williams
Linux/CMake guy


Top
Offline Profile  
Reply with quote  
 Post subject: Re: uint32_t was not declared in this scope
PostPosted: Fri Nov 23, 2012 10:26 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Sounds like this is your problem? One of the answers points to here so maybe give that a try. Beyond that I don't know as I haven't used Eclipse much.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: uint32_t was not declared in this scope
PostPosted: Sat Nov 24, 2012 10:27 pm 

Joined: Fri Nov 23, 2012 7:20 pm
Posts: 3
David Williams wrote:
Sounds like this is your problem? One of the answers points to here so maybe give that a try. Beyond that I don't know as I haven't used Eclipse much.


With eclipse I could get g++ to play nice with the int types but the IDE just couldn't do it. I switched to netbeans and now everything is right as rain. I have another issue but that's going to be a separate post.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net