Overview
Features
Download
Documentation
Community
Add-Ons & Services

Please help with windows static build

Please post support and help requests here.

Please help with windows static build

Postby Budric » 10 Dec 2008, 19:01

Hi,
I can't get version 1.3.3p1 to work with my existing project. I get the error

^
~np~
Error 1 error LNK2019: unresolved external symbol "public: __thiscall Poco::ThreadPool::ThreadPool(int,int,int)" (??0ThreadPool@Poco@@QAE@HHH@Z) referenced in function "public: __thiscall Test::Test(int)" OneOfMyObjects.obj
~/np~
^
^
~np~
Error 2 error LNK2019: unresolved external symbol _GetAdaptersInfo@8 referenced in function "public: static void __cdecl Poco::EnvironmentImpl::nodeIdImpl(unsigned char (&)[6])" (?nodeIdImpl@EnvironmentImpl@Poco@@SAXAAY05E@Z) PocoFoundationmtd.lib
~/np~
^

When building PocoFoundation there are no errors but warnings that read:

^
SignalHandler.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
^
^
String.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
^
^
ByteOrder.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
^

This looks like what's causing this...but I don't know the reason or how to fix it.
Budric
 
Posts: 5
Joined: 03 Aug 2007, 18:35

Re: Please help with windows static build

Postby alex » 10 Dec 2008, 19:08

> I can't get version 1.3.3p1 to work with my existing project. I get the error

Link your application with Iphlpapi.lib
alex
 
Posts: 1101
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Re: Please help with windows static build

Postby Budric » 10 Dec 2008, 19:20

> > I can't get version 1.3.3p1 to work with my existing project. I get the error
>
> Link your application with Iphlpapi.lib

Thanks, that does fix error 2. However the ThreadPool is still reported as unresolved external...
Budric
 
Posts: 5
Joined: 03 Aug 2007, 18:35

Re: Please help with windows static build

Postby Budric » 10 Dec 2008, 21:25

Oops, I spoke too soon. I did a clean/build and the other error went away as well after adding that lib.

Thanks.
Budric
 
Posts: 5
Joined: 03 Aug 2007, 18:35


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron