Re[2]: FastCGI CPP Win32. Cannot compile fcgi-test.cpp from cgicc
Igor <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Organization | ROL |
| Message-ID | <[email protected]> |
Hello joe,
Thursday, October 20, 2005, 7:58:30 PM, you wrote:
Thank you for the early reply. I forgot to mention that I managed to
compile and run successfully every example from cgicc library and FastCGI
except this one. And cgicc/fastcgi is what I need most of all. The
design would be much better if cgicc would work on both platforms
without introducing another class that would handle compatibility
issues.
Ah, yes, there is another thing fcgi-test is only required to get
parameters, since cgicc is working good in fast-cgi app, but it
doesn't receive parameters :-(
I know about linker dependencies and both fastcgi.lib as
well as cgicc.lib are included in the project.
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
It seems that this error relates to vftable or something... If I
knew what it is I would have fixed it.
Summary:
- I have both cgicc lib and fastcgi lib in my project, compiled,
working, tested.
- cgicc and fast-cgi applications are working fine on their own
- When I try to use them both everything is fine till
a class, declared in my application which is inherited from a
dependency library (cgicc) and a virtual function is redefined,
then linker can not find constructors (I'm not sure about a
direct dependency with a virtual function)
Let me know if you need any additional information.
Thanks.
jd> I haven't tried to compile fastcgi using windows but I have afew
jd> suggestions. The test project should be trying to link to the .lib
jd> created with the dll. Make sure that the path to that lib is correctly
jd> specified in the fcgi-test project's properties dialog. This wil probably
jd> solve the issue.
jd> Write back if this is not the answer and give more info if the error
jd> changes. This sort of error is normally just some kind of bookeeping
jd> problem.
jd> Good luck,
jd> Joe Dumoulin
--
www.rol.ru
Best regards,
Igor mailto:[email protected]
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/