Thread overview
cgi.d - fastcgi - how am i suppose to link in libfcgi.a or libfcgi.lib
Oct 01, 2014
Sycam_Inc
Oct 01, 2014
Adam D. Ruppe
Oct 01, 2014
Sycam_Inc
October 01, 2014
im truing to use the fastcgi support provided by cgi.d found at https://github.com/adamdruppe/arsd/blob/master/cgi.d with the -version fastcgi flag on the compiler.
however its creator said it requires the fastcgi C lib
>reviously, it spoke regular CGI, FastCGI (with help
>from a C lib) and HTTP (with help from the netman.d
>and httpd.d files in that github).
and i cant find a copy of it that can link with D, I've tried:

building it from source (complains about missing file sys/socket.h)
converting it with objconv (threw a bunch of errors)
using coffimplib (threw a bunch of errors)
using GDC (complains about undefined refrences in libphobos2.a socket.o (windows is so much fun))

what should i consider next?
October 01, 2014
Try linking in these .obj files that I compiled for windows a while ago:

http://arsdnet.net/dcode/fcgi_win.zip

so unzip that, put it in your project directory and just add both .obj files to your compile command line along with -version=fastcgi.

It has been a LONG time since I used that, but I'm pretty sure that worked when I tried it on 32 bit windows and running the program through IIS.
October 01, 2014
On Wednesday, 1 October 2014 at 17:09:06 UTC, Adam D. Ruppe wrote:
> Try linking in these .obj files that I compiled for windows a while ago:
>
> http://arsdnet.net/dcode/fcgi_win.zip
>
> so unzip that, put it in your project directory and just add both .obj files to your compile command line along with -version=fastcgi.
>
> It has been a LONG time since I used that, but I'm pretty sure that worked when I tried it on 32 bit windows and running the program through IIS.

Thank You, You have made a days worth of headache worth it.
Now to make it work with lighttdp