[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No such file or directory

Paolo Invernizzi arathorn at fastwebnet.it
Thu Sep 16 01:20:39 PDT 2004


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




More information about the llvm-dev mailing list