compile httpdx

Help
fmair
2010-06-11
2013-04-10
  • fmair
    fmair
    2010-06-11

    Hello!

    I'm not able to compile httpdx, because there is no make File available. Can you give me a hint how to compile it?

    thx

     
  • Jasper
    Jasper
    2010-06-20

    Hi,

    To be honest, I don't usually use any makefiles, just a bunch of commands from my IDE.
    Httpdx can be compiled quickly with

    dllwrap -o core.dll --output-def "libcore.def" --implib libcore.a --driver-name c++ -I"D:\SDKs\mingw\include" -I"include" -L"D:\SDKs\mingw\lib" core_src\core.cpp
    g++ -o httpdx.exe httpdx_src\main.cpp httpdx_src\script.cpp httpdx_src\n.cpp httpdx_src\daemon.cpp httpdx_src\http.cpp httpdx_src\ftp.cpp -I"D:\SDKs\mingw\include" -I"include" -L"D:\SDKs\mingw\lib" -lws2_32 libcore.a
    

    just change the include and library directories to yours.

    Sorry for the late response, have been busy!