pruiz / WkHtmlToXSharp

C# wrapper wrapper (using P/Invoke) for the excelent Html to PDF conversion library wkhtmltopdf library.
239 stars 84 forks source link

Wkhtmltopdf build environment #16

Closed necrostaz closed 11 years ago

necrostaz commented 11 years ago

Hello. Can you describe which tools and environment are you used to build wkhtmltopdf lib and its x64 version. What version of QT, with wkhtmltopdf patches or not. What toolchain - mingw or Visual Studio. Thank you.

pruiz commented 11 years ago

Hi,

Build instructions for wkhtmltopdf can be found on it's proyect site on googlecode: http://code.google.com/p/wkhtmltopdf/wiki/compilation

Build instructions for wkhtmltoxsharp are a bit easier, you just need to open the .sln file on Visual Studio and build it. ;)

necrostaz commented 11 years ago

Thank you for quick response. I already read wkhtmltopdf compilation article, but i was particularly interested in compile x64 version. As i unterstand you use MinGW-w64, right? Probably x64-specific issues was related with that toolchain.

pruiz commented 11 years ago

Hi,

The last time I tried to build it for x64 was a long time ago and it was on linux using wine+cross-gcc.. sounds weird, but this was at the time the build environment wkhtmltopdf had for win32/64.

Not sure about it, but I think they are now using a windows hosted environment, so things might be a little easier nowadays. ;)

Hope it helps.