Re: Compilation error in "FastCGI using C"
Darren Garvey <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Sauda, Do you need to include "fastcgi.h" ? Regards, Darren 2009/8/27 <[email protected]> > Hi, > > > > Can someone help me out with this? I’m getting “error C2065: 'FCGI_Accept' > : undeclared identifier” when I try to compile the code below: > > > > #include "fcgi_stdio.h" > > #include "fcgiapp.h" > > #include <stdlib.h> > > #include "stdafx.h" > > > > int main(int argc, char* argv[]) > > { > > while (FCGI_Accept() >= 0) > > { > > printf("Hello World!\n"); > > } > > return 0; > > } > > > > Details: > > 1) Build environment: MS VC++ 6.0 > > 2) Downloaded the FastCGI SDK from http://www.fastcgi.com/drupal/node/5. Unzipped > the contents to “C:\Program Files\fcgi-2.4.0”. > > 3) Downloaded libfcgi.dll from: “ > http://download.corruptedfilerepair.com/post/2008/08/14/libfcgidll-Download-File-libfcgidll.aspx > ” > > 4) Downloaded “dll to lib” software from “ > http://www.binary-soft.com/download.htm” - converted libfcgi.dll<http://www.binary-soft.com/download.htm>to libfcgi.lib and placed at “C:\Program > Files\Microsoft Visual Studio\VC98\Lib” > > 5) IDE Settings: > > Tools->Options->Directories->IncludeFiles has entry pointing to C:\Program > Files\fcgi-2.4.0\Include > > Tools->Options->Directories->LibraryFiles has entry pointing to C:\Program > Files\Microsoft Visual Studio\VC98\Lib > > > > Regards, > > Sauda > > > > * Please do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > > _______________________________________________ > FastCGI-developers mailing list > FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers > > _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers