Overview
Features
Download
Documentation
Community
Add-Ons & Services

poco cannot find file: DirectoryIterator.h

Please post support and help requests here.

poco cannot find file: DirectoryIterator.h

Postby meirab » 28 Mar 2012, 14:53

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

linker:
properties --> linker --> general --> additional library directories:
e:\poco1.4.3.all\lib
e:\poco1.4.3.all\bin
meirab
 
Posts: 3
Joined: 28 Mar 2012, 14:37

Re: poco cannot find file: DirectoryIterator.h

Postby marlowabnp » 30 Mar 2012, 10:03

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?
marlowabnp
 
Posts: 89
Joined: 08 Nov 2010, 17:29

Re: poco cannot find file: DirectoryIterator.h

Postby burche » 30 Mar 2012, 11:09

You are probably compiling the shared version of the libraries and you need that DLLat runtime in the same folder as your running program.
burche
 
Posts: 4
Joined: 28 Mar 2012, 13:35

Re: poco cannot find file: DirectoryIterator.h

Postby meirab » 31 Mar 2012, 14:11

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 :lol:
meirab
 
Posts: 3
Joined: 28 Mar 2012, 14:37

Re: poco cannot find file: DirectoryIterator.h

Postby tomy » 02 Apr 2012, 12:32

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 :)
tomy
 
Posts: 5
Joined: 01 Apr 2012, 12:28

Re: poco cannot find file: DirectoryIterator.h

Postby alex » 02 Apr 2012, 15:02

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.
alex
 
Posts: 1132
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: poco cannot find file: DirectoryIterator.h

Postby tomy » 02 Apr 2012, 22:47

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)
tomy
 
Posts: 5
Joined: 01 Apr 2012, 12:28

Re: poco cannot find file: DirectoryIterator.h

Postby alex » 03 Apr 2012, 13:29

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.

?

Many people worked hard to give you something good. For free. I suggest you take some time and think about your requests.
alex
 
Posts: 1132
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: poco cannot find file: DirectoryIterator.h

Postby Ruin » 03 Apr 2012, 16:06

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
Ruin
 
Posts: 1
Joined: 03 Apr 2012, 16:01

Re: poco cannot find file: DirectoryIterator.h

Postby meirab » 03 Apr 2012, 23:33

steps:

1.move to the desktop.
2.find: My Computer.
3.right click ---> properties.
4.click Advanced.
5.Environment Variables.
6.System Variables ----> Path
7.at the end add: ;E:\poco-1.4.3p1-all;E:\poco-1.4.3p1-all\bin
8.save your work.

9.good luck.
meirab
 
Posts: 3
Joined: 28 Mar 2012, 14:37

Next

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest