Reputation: 1
I have a problem compiling PDFium. The goal is to create an unmanaged PDFium.dll from the current sources. I have already started a wrapper for C# which works so far. However, with a foreign pdfium.dll which I do not want to use productively for security reasons.
But about the problem: I followed the “Building PDFium” instructions from pdfium.googlesource.com and
Now the build process should follow. So I went to the \pdfium\ directory and ran "ninja -C "%CD%" pdfium_test".
I also get the same message from the autoninja.bat of the depot tools. After some research and reading, I suspect that I need to create the build.ninja with gn.exe first. But how? I can't find any information here and the gn.exe under "\pdfium\buildtools\win\gn.exe" has so many parameters that I don't understand.
The gn.bat of the depot_tools (which calls gn.py) tells me… Error: ERROR No command specified. Most commonly you want "gn gen <out_dir>" to make a build dir.
Checked that the included Python3 (bat+exe) is found, that Ninja is found, files and directories checked.
Upvotes: 0
Views: 111