Re: FastCGI CPP Win32. Cannot compile fcgi-test.cpp from cgicc

joe dumoulin <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
I haven't tried to compile fastcgi using windows but I have afew 
suggestions.  The test project should be trying to link to the .lib 
created with the dll.  Make sure that the path to that lib is correctly 
specified in the fcgi-test project's properties dialog.  This wil probably 
solve the issue.

Write back if this is not the answer and give more info if the error 
changes.  This sort of error is normally just some kind of bookeeping 
problem.

Good luck,
Joe Dumoulin


On Thu, 20 Oct 2005, Igor wrote:

> Hello fastcgi-developers,
>
>  I can't compile fcgi-test.cpp from cgicc package under VC7. It looks like
>  there is a problem with vftable or something.
>
>  It keeps telling me
>  fast_cgi_attemtp error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall cgicc::FCgiIO::FCgiIO(struct FCGX_Request &)" (__imp_??0FCgiIO@cgicc@@QAE@AAUFCGX_Request@@@Z) referenced in function _main
>  fast_cgi_attemtp error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall cgicc::FCgiIO::~FCgiIO(void)" (__imp_??1FCgiIO@cgicc@@UAE@XZ) referenced in function _main
>  .....
>  12 errors
>
>  Makefile.in is useless under win32. Could anyone give me a clue as to
>  how to fix the linkage problem. It looks like VC7 cannot redefine
>  virtual functions defined in the cgicc.lib. I have no idea what
>  compiler flags could fix it.
>
>  Good news - FastCGI/CPP is working fine under Win32. It is pity
>  cgicc cannot handle FastCGI internally, especially after streams are
>  redefined:
>  cin  = &cin_fcgi_streambuf;
>  cout = &cout_fcgi_streambuf;
>  cerr = &cerr_fcgi_streambuf;
>
>  Is there any other way to make FastCGI work with cgicc?
>
> --
> www.rol.ru
> Best regards,
> Igor                          mailto:[email protected]
>
>

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.