geovanisouza92 at gmail.com
2011-Sep-08 19:52 UTC
[LLVMdev] 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! -- @geovanisouza92 - Geovani de Souza -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110908/15afac03/attachment.html>
arrowdodger
2011-Sep-09 07:31 UTC
[LLVMdev] How to fix an error like "Don't have a definition for uint64_t on this platform"?
On Thu, Sep 8, 2011 at 11:52 PM, geovanisouza92 at gmail.com < geovanisouza92 at gmail.com> wrote:> 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. >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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110909/ba6f9fcb/attachment.html>
geovanisouza92 at gmail.com
2011-Sep-09 11:04 UTC
[LLVMdev] How to fix an error like "Don't have a definition for uint64_t on this platform"?
Okay. Thanks :-) 2011/9/9 arrowdodger <6yearold at gmail.com>> On Thu, Sep 8, 2011 at 11:52 PM, geovanisouza92 at gmail.com < > geovanisouza92 at gmail.com> wrote: > >> 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. >> > > 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. >-- @geovanisouza92 - Geovani de Souza -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110909/9d911a48/attachment.html>