Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build? #10

Open
Xan-Kun opened this issue Apr 20, 2016 · 2 comments
Open

How to build? #10

Xan-Kun opened this issue Apr 20, 2016 · 2 comments

Comments

@Xan-Kun
Copy link

Xan-Kun commented Apr 20, 2016

I really would love to use and enhance the project, but I can't get it to build. I would love to write a wiki page as soon as I figure out how to get it up and running.
The furthest I got with VS2013 was two errors when compiling:
Error 1 Cannot determine the location of the VS Common Tools folder. C:\dev2\geckofxHtmlToPdf-master\src\EXEC geckofxHtmlToPdf
Error 2 The command "IF EXIST "%VS140COMNTOOLS%" CALL "%VS140COMNTOOLS%vsvars32.bat"
IF EXIST "%VS120COMNTOOLS%" CALL "%VS120COMNTOOLS%vsvars32.bat"
IF EXIST "%VS110COMNTOOLS%" CALL "%VS110COMNTOOLS%vsvars32.bat"
IF EXIST "%VS100COMNTOOLS%" CALL "%VS100COMNTOOLS%vsvars32.bat"

editbin.exe /largeaddressaware "C:\dev2\geckofxHtmlToPdf-master\output\Debug\GeckofxHtmlToPdf.exe"" exited with code -1. geckofxHtmlToPdf

Could you please give me hint into the right direction?

Very best regards,
Xan-Kun

@JohnThomson
Copy link
Collaborator

Did you see the instructions in the ReadMe.md about using nuget to get the dependencies and extracting xulrunner?

The only other thing I can think of that might be going wrong is that VS14 is, I believe, Visual Studio 2015. We intended this project to build with older versions, but something that requires VS2015 may have crept in. There is a free community edition of VS2015, so you may have more success building with that.

Please let us know if you still have problems.

@Xan-Kun
Copy link
Author

Xan-Kun commented Apr 20, 2016

Hi and thanks for the response. I also think it has something to do with the VisualStudio and maybe I should up- or downgrade :-) Nevertheless, your code was by far the best example there is for printing with geckofx and I understood the XPcom(?) Interface and how to handle it thanks to you code.

StephenMcConnel pushed a commit to StephenMcConnel/geckofxHtmlToPdf that referenced this issue Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants