Sign in to follow this  

AngelScript 2.31.2: Build errors with VS2008

Recommended Posts

Posted (edited)

Hi,

 

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 (https://code.google.com/archive/p/msinttypes/) 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!

Thomas

Edited by Friggle

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this