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

Upgrade to XPDF 4.04 #5

Open
ReMiOS opened this issue Oct 19, 2022 · 0 comments
Open

Upgrade to XPDF 4.04 #5

ReMiOS opened this issue Oct 19, 2022 · 0 comments

Comments

@ReMiOS
Copy link

ReMiOS commented Oct 19, 2022

I've sucessfully compiled the v4.02 version
But when i try the same with the sources of v4.04 in "xpdf-4.04" on Windows 10 (Using Visual Studio 2022) i get an error when trying to compile
I've renamed the 4.02 version and folder names to 4.04 in the /CMakeLists.txt and "/libxpdf/.github/workflows/build.yml"
(also tried to place the 4.04 sources in the 4.02 folder)

[  0%] Building CXX object CMakeFiles/xpdftest.dir/xpdf-4.04/xpdf/pdfinfo.cc.obj
pdfinfo.cc
[  0%] Linking CXX executable xpdftest.exe
LINK: command "C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1433~1.316\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\xpdftest.dir\objects1.rsp /out:xpdftest.exe /implib:xpdftest.lib /pdb:\libxpdf\libxpdf-build\xpdftest.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:console xpdf.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:xpdftest.exe.manifest" failed (exit code 1181) with the following output:
src\pyxpdf\xpdf.cpp(836): fatal error C1083: Cannot open include file: 'Form.h': No such file or directory

Any help appreciated !

Update: managed to compile 4.04 sources by changing cmake-config.txt and CMakeLists.txt files ( as compared to 4.02 )
but i don't know if this is a stable solution .....

@ReMiOS ReMiOS changed the title Upgrade to XPDF 4.04 Upgrade to XPDF 4.0.4 Oct 19, 2022
@ReMiOS ReMiOS changed the title Upgrade to XPDF 4.0.4 Upgrade to XPDF 4.04 Oct 19, 2022
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

1 participant