I have been trying to build POCO library for few days but i have been unable to.

When I try to build the foundation library from my vc++2008(i have windows 7) it gives the following error:

>>>>>>>>>>>>>>>
Performing Custom Build Step
Project : error PRJ0003 : Error spawning 'cmd.exe'.
Project : warning PRJ0018 : The following environment variables were not found:
$(PATH)
>>>>>>>>>>>>>>>
LINK : fatal error LNK1181: cannot open input file 'PocoFoundation.lib'
Project : warning PRJ0018 : The following environment variables were not found:
$(PATH)
Build log was saved at "file://e:\turmoil\poco\Foundation\testsuite\obj\release_shared\BuildLog.htm"
TestLibrary - 1 error(s), 0 warning(s)
>>>>>>>>>>>>>>
e:\turmoil\poco\CppUnit\WinTestRunner\include\WinTestRunner/WinTestRunner.h(27) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
>>>>>>>>>>>>>

Also no files are created except for:
E:\turmoil\poco\Foundation\obj\debug_shared\PocoFoundationd.dll.embed.manifest

What is my problem??

Is there anything I am doing wrong?
plz help me out..

Recommended Answers

All 4 Replies

1. find out where the file 'PocoFoundation.lib' is on your pc
2. Go to project->....properties->Configuration properties->linker->general
3. In the field "Additional library directories" type the path you found at 1.

I think to generate the .lib(and dll) file is my target if i am not wrong. I saw in linker settings : linker settings-additional dependencies-iphlpapi.lib.
I searched for it(iphlpapi.lib) in the whole computer. But nowhere can i find it.
just for more info..
(c/c++) / additional include directories / .\include is there.
what to do?

cant i get a already built library of someone else.
can anybody provide if it is possible?

cant i get a already built library of someone else.
can anybody provide if it is possible?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.