Re: link error

"Alexander J. Oss" <[email protected]> Fri, 25 Oct 2002 06:39:46 -0400
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <000b01c27c12$d7331560$0101a8c0@puter>
It looks somewhat like you're trying to compile cgicc as a DLL.  What
happens if you try to link to a static version of the library?  I've had no
problems doing this, although I'm using Borland C++.

----- Original Message -----
From: "Biju Abraham" <[email protected]>
To: <[email protected]>
Sent: Thursday, October 24, 2002 12:54 AM
Subject: [help-cgicc] link error



dear All

i have download cgicc files. my OS is Windows 2000 and MSVC++6.0. but when i
compiled it produced a link error.
like

test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: __thiscall cgicc::Cgicc::~Cgicc(void)"
(__imp_??1Cgicc@cgicc@@QAE@XZ)
test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: char const * __thiscall cgicc::Cgicc::getHost(void)const "
(__imp_?getHost@Cgicc@cgicc@@QBEPBDXZ)
test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: char const * __thiscall cgicc::Cgicc::getCompileDate(void)const "
(__imp_?getCompileDate@Cgicc@cgicc@@QBEPBDXZ)
test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: char const * __thiscall cgicc::Cgicc::getCompileTime(void)const "
(__imp_?getCompileTime@Cgicc@cgicc@@QBEPBDXZ)
test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: __thiscall cgicc::HTMLAttributeList::~HTMLAttributeList(void)"
(__imp_??1HTMLAttributeList@cgicc@@QAE@XZ)

How can i correct it?
please help me.
Biju abraham



---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site