Henrik Bach
2004-Sep-15 21:09 UTC
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No such file or directory
Hi I'm trying to compile HowToUseJIT.cpp, but it seems that iterator definition is missing: --------------------Configuration: HowToUseJIT - Win32 Debug-------------------- Compiling... HowToUseJIT.cpp c:\sfu\usr\local\src\llvm\include\llvm\adt\ilist(41) : fatal error C1083: Cannot open include file: 'llvm/ADT/iterator': No such file or directory Error executing cl.exe. I've looked and searched for it in the LLVM source folders, but it doesn't seem to be present. Futhermore, I've got the latest cvs sources. Any suggestions? Henrik --- Got Freedom? Software Freedom Day 2004 - 28th of August http://www.softwarefreedomday.org/ --- _________________________________________________________________ Find det, du s�ger med MSN S�g http://search.msn.dk/
Reid Spencer
2004-Sep-16 06:32 UTC
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No such file or directory
The header file llvm/ADT/iterator is generated by the configure script. The source for the file is in include/llvm/ADT/iterator.in. Please make sure you've updated that directory (ADT). Then, you need to make sure you've updated to the latest configure script and rerun it to generate include/llvm/ADT/iterator. Note that if $builddir != $srcdir then you might miss this generation as it actually builds "iterator" in the $builddir! Same thing goes for hash_set and hash_map. Reid. On Wed, 2004-09-15 at 14:09, Henrik Bach wrote:> Hi > > I'm trying to compile HowToUseJIT.cpp, but it seems that iterator definition > is missing: > > --------------------Configuration: HowToUseJIT - Win32 > Debug-------------------- > Compiling... > HowToUseJIT.cpp > c:\sfu\usr\local\src\llvm\include\llvm\adt\ilist(41) : fatal error C1083: > Cannot open include file: 'llvm/ADT/iterator': No such file or directory > Error executing cl.exe. > > I've looked and searched for it in the LLVM source folders, but it doesn't > seem to be present. Futhermore, I've got the latest cvs sources. > > Any suggestions? > > Henrik > > --- > Got Freedom? > Software Freedom Day 2004 - 28th of August > http://www.softwarefreedomday.org/ > --- > > _________________________________________________________________ > Find det, du sger med MSN Sg http://search.msn.dk/ > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040915/95c13a49/attachment.sig>
Paolo Invernizzi
2004-Sep-16 08:20 UTC
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No such file or directory
I'm using scons to generate that files from .in files. I implemented in it the configure check regarding iterators, hash and so on... something like: scons: Reading SConscript files ... Checking for C++ header file windows.h... yes Checking for C++ type std::hash_map<int, int>... no Checking for C++ type std::hash_map<int, int>... yes Checking for C++ type std::hash_set<int>... no Checking for C++ type std::hash_set<int>... yes Checking for C++ type std::iterator<int,int,int>... yes Checking for C++ type std::bidirectional_iterator<int,int>... yes Checking for C++ type std::forward_iterator<int,int>... yes Checking for isnan(0.0) in C++ library None... no Checking for isnan(0.0) in C++ library None... no Checking for std::isnan(0.0) in C++ library None... no Checking for _isnan(0.0) in C++ library None... yes Checking for isinf(0.0) in C++ library None... no Checking for isinf(0.0) in C++ library None... no Checking for std::isinf(0.0) in C++ library None... no Checking for finite(0.0) in C++ library None... no Checking for _finite(0.0) in C++ library None... yes scons: done reading SConscript files. scons: Building targets ... cl /nologo /TP /EHsc /GR /D__STDC_LIMIT_MACROS /ISTLport-4.6.2\stlport /Illvm\include /Iinclude /Ibuild_vc71\include /c build_vc71\lib\Target\X86\X86TargetMachine.cpp /Fobuild_vc71 \lib\Target\X86\X86TargetMachine.obj <big snip> as you can see I was working on nan and isinf, that in VC are _isnan and _finite ... so expect a little patches for them ;-) Right now is in a very early stage, but I'll post to you when is a little more *mumble* presentable. Scons requires only python. --- Paolo Invernizzi On Sep 15, 2004, at 11:09 PM, Henrik Bach wrote:> Hi > > I'm trying to compile HowToUseJIT.cpp, but it seems that iterator > definition is missing: > > --------------------Configuration: HowToUseJIT - Win32 > Debug-------------------- > Compiling... > HowToUseJIT.cpp > c:\sfu\usr\local\src\llvm\include\llvm\adt\ilist(41) : fatal error > C1083: Cannot open include file: 'llvm/ADT/iterator': No such file or > directory > Error executing cl.exe. > > I've looked and searched for it in the LLVM source folders, but it > doesn't seem to be present. Futhermore, I've got the latest cvs > sources. > > Any suggestions? > > Henrik
Reasonably Related Threads
- [LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No suchfile or directory
- [LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': Nosuchfile or directory
- [LLVMdev] Little win32/Signals.cpp patch
- [LLVMdev] -fPIC warning on every compile on Cygwin
- [LLVMdev] -fPIC warning on every compile on Cygwin