How to fix an error like "Don't have a definition for uint64_t on this platform"?

Hi everyone!

I’m trying compile an compiler project that uses LLVM 2.9, and I’m having difficult with the error “Don’t have a definition for uint64_t on this platform”.

I set the ‘__STDC_LIMIT_MACROS’ and ‘__STDC_CONSTANT_MACROS’ defines, and save the “DataTypes.h.in” as “DataTypes.h”, to compiler can locate them.

I’m using C++Builder XE, in Win7.

How can I fix this?

Regards!

Don’t do this, it’s wrong. The “DataTypes.h” should be created from “DataTypes.h.in” template during LLVM build process. So, begin from building and installing LLVM first.

Okay. Thanks :slight_smile:

2011/9/9 arrowdodger <6yearold@gmail.com>