Advertisement Jump to content
Sign in to follow this  

AngelScript 2.31.2: Build errors with VS2008

This topic is 740 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts



I've been using AngelScript successfully up to now (until 2.31.1) with VS2008 and the solution file in msvc9 directory. My app is MFC based so I always need to change the standard windows library usage to MFC usage - no issues up to now.

But with AngelScript 2.31.2 I get the following compiler error:


"stdint.h": No such file or directory


After some while of searching the web I found a lot of statements that VS2008 does not come with stdint.h. I also tried to use the include files from the msinttypes project ( but without success: Other errors occur then with respect to some not found definition UINT64_MAX.

Is there any quick solution or hint you can provide?

Otherwise I will have to dig deeper into the problem I suppose...


Edit: The project now builds (win32 Debug and Release) after adding __STDC_LIMIT_MACROS to the preprocessor macros. This leads to definition of UINT64_MAX in stdint.h obtained from the msinttypes project page. I added the header files (stdint.h and inttypes.h) to the compiler's include directory (C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include in my case).


Many thanks!


Edited by Friggle

Share this post

Link to post
Share on other sites

Thanks for letting me know about this.


I think I'll just define my own constant for UINT64_MAX to avoid this problem in the future.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!