## poco cannot find file: DirectoryIterator.h

Please post support and help requests here.
meirab
Posts: 3
Joined: 28 Mar 2012, 14:37

### poco cannot find file: DirectoryIterator.h

i built poco on windows xp with visual studio 2008 vc9:

build_vs90.cmd

but poco can not run, it has a problem with: PocoFoundationd.dll

what do i have to do in order to RUN?
i have defined:

compiler:

properties --> c/c++ --> general --> additional include directories:
e:\poco1.4.3.all\foundation\include

e:\poco1.4.3.all\lib
e:\poco1.4.3.all\bin

marlowabnp
Posts: 89
Joined: 08 Nov 2010, 17:29

### Re: poco cannot find file: DirectoryIterator.h

When you say "it has a problem", what problem would that be? What does it say? How do you know that there is a problem?

burche
Posts: 4
Joined: 28 Mar 2012, 13:35

### Re: poco cannot find file: DirectoryIterator.h

You are probably compiling the shared version of the libraries and you need that DLLat runtime in the same folder as your running program.

meirab
Posts: 3
Joined: 28 Mar 2012, 14:37

### Re: poco cannot find file: DirectoryIterator.h

The problem is in the path definition:

POCO needs to defined in the path and only then it activate itself (in windows xp).

E:\poco-1.4.3p1-all
E:\poco-1.4.3p1-all\bin

tomy
Posts: 5
Joined: 01 Apr 2012, 12:28

### Re: poco cannot find file: DirectoryIterator.h

had a very similar problem. Thanks for the solution - it worked for me as well.
I believe it should be put into documentation for the future, because it seems to be a common problem a more people could make use of it

alex
Posts: 1375
Joined: 11 Jul 2006, 16:27
Location: United_States

### Re: poco cannot find file: DirectoryIterator.h

tomy wrote:I believe it should be put into documentation for the future

It is in the Getting Started document:
In order to run the test suite and the samples, the top-most bin directory containing the resulting shared libraries must be in the PATH environment variable.

Besides, search path used by Windows is very well known.

tomy
Posts: 5
Joined: 01 Apr 2012, 12:28

### Re: poco cannot find file: DirectoryIterator.h

ok, whatever. I just think that it will put a lot of beginners off... Because it's not as clearly said as it could be...
(http://stackoverflow.com/questions/9959 ... ttp-client)

alex
Posts: 1375
Joined: 11 Jul 2006, 16:27
Location: United_States

### Re: poco cannot find file: DirectoryIterator.h

tomy wrote:it's not as clearly said as it could be...

Care to elaborate on how we can say this more clearly:
In order to run the test suite and the samples, the top-most bin directory containing the resulting shared libraries must be in the PATH environment variable.

?

Ruin
Posts: 1
Joined: 03 Apr 2012, 16:01

### Re: poco cannot find file: DirectoryIterator.h

POCO needs to defined in the path and only then it activate itself (in windows xp).

E:\poco-1.4.3p1-all
E:\poco-1.4.3p1-all\bin

I am a bit lost..
Does POCO need to be defined as a system variable?
Or is it something declared in visual studio?
thanx

meirab
Posts: 3
Joined: 28 Mar 2012, 14:37

### Re: poco cannot find file: DirectoryIterator.h

steps:

1.move to the desktop.
2.find: My Computer.
3.right click ---> properties.