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 .....
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)
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 .....