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


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: |fatal error: cstdint: No such file or directory|
PostPosted: Mon Jan 30, 2012 8:09 pm 

Joined: Mon Jan 30, 2012 6:25 pm
Posts: 6
so yeah. I am screwed. (can't compile the static library thus, no integrating into my project until finished :( )

now, for the information you seek
IDE: Code::Blocks
Compiler: MinGW 4.5.2
4.3 and up SHOULD work. what did I miss?
Google did not help btw, so don't even recommend that.

Thanks in advance
//aaammmsterdddam


Top
Offline Profile  
Reply with quote  
 Post subject: Re: |fatal error: cstdint: No such file or directory|
PostPosted: Tue Jan 31, 2012 10:03 am 
User avatar

Joined: Wed Jan 26, 2011 3:20 pm
Posts: 203
Location: Germany
tip: post the error messages. otherwise it's like saying my car doesn't work, it's a porsche ;)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: |fatal error: cstdint: No such file or directory|
PostPosted: Tue Jan 31, 2012 10:56 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
'cstdint' is a part of the standard library and should be included with your compiler. However, I think it's only available for C++11. According to this article, GCC 4.5 should include it though you might need to compile with the flag '–std=c++0x' to enable C++11 support. Probably this flag is missing?

Have a look at the CMake file here. You can see these lines:

Code:
IF(CMAKE_COMPILER_IS_GNUCXX) #Maybe "OR MINGW"
   ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
ENDIF()


Looks like we didn't know whether we had to define 'MINGW'. Perhaps you can try adding this, or just removing the IF and ENDIF so the definition always get created?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: |fatal error: cstdint: No such file or directory|
PostPosted: Mon Feb 20, 2012 7:13 pm 

Joined: Mon Jan 30, 2012 6:25 pm
Posts: 6
sorry for replying so late! (been busy with IRL stuff!)

ker, the title IS the error.

david williams, that line is there :/
so I am not really sure where it went.....
though, I do not have ANY file with cstdint in it's name....
so that could be the problem.....
**fixes what you told me to fix**
Nope, still fails epically :(


Top
Offline Profile  
Reply with quote  
 Post subject: Re: |fatal error: cstdint: No such file or directory|
PostPosted: Tue Feb 21, 2012 8:49 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
If you have searched your compiler directories and you don't have any file with 'cstdint' in the name then I can only assume you compiler does not yet have support for this. You can try a more recent version or ask on the compiler forums about where this file might be.

Otherwise, you can also try installing Boost. You will probably then need to edit Typedef.h to make PolyVox use the Boost files as an alternative to 'cstdint' (which is what it does for the early Microsoft compilers.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: |fatal error: cstdint: No such file or directory|
PostPosted: Sat Mar 03, 2012 1:30 pm 

Joined: Mon Jan 30, 2012 6:25 pm
Posts: 6
well, looking at the install logs of MinGW I noticed that the console did say one or two downloads failed, MinGW will still install though some downloads failed.... with my luck that is what happened...
will reinstall...


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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