zotero / cross-xpdf

9 stars 6 forks source link

Build errors with Xpdf 4.03 #2

Open dstillman opened 2 years ago

dstillman commented 2 years ago

Probably should update to newer Debian and use Xpdf 4.04?

dstillman commented 2 years ago

I also can't compile this on an Apple Silicon Mac, even after switching to amd64/debian:jessie. Trying to build just the Windows build, I get this error:

#16 2.444 -- Check for working CXX compiler: /usr/bin/c++ -- broken
#16 2.447 CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCXXCompiler.cmake:54 (message):
#16 2.447   The C++ compiler "/usr/bin/c++" is not able to compile a simple test
#16 2.447   program.
#16 2.447
#16 2.447   It fails with the following output:
#16 2.447
#16 2.447    Change Dir: /build/windows_x86/CMakeFiles/CMakeTmp
#16 2.447
#16 2.447
#16 2.447
#16 2.447   Run Build Command:"/usr/bin/make" "cmTryCompileExec70714223/fast"
#16 2.447
#16 2.447   /usr/bin/make -f CMakeFiles/cmTryCompileExec70714223.dir/build.make
#16 2.447   CMakeFiles/cmTryCompileExec70714223.dir/build
#16 2.447
#16 2.447   make[1]: Entering directory '/build/windows_x86/CMakeFiles/CMakeTmp'
#16 2.447
#16 2.447   /usr/bin/cmake -E cmake_progress_report
#16 2.447   /build/windows_x86/CMakeFiles/CMakeTmp/CMakeFiles 1
#16 2.447
#16 2.447   Building CXX object
#16 2.447   CMakeFiles/cmTryCompileExec70714223.dir/testCXXCompiler.cxx.o
#16 2.447
#16 2.447   /usr/bin/c++ -Os -mwindows -o
#16 2.447   CMakeFiles/cmTryCompileExec70714223.dir/testCXXCompiler.cxx.o -c
#16 2.447   /build/windows_x86/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
#16 2.447
#16 2.447   c++: error: unrecognized command line option '-mwindows'
#16 2.447
#16 2.447   CMakeFiles/cmTryCompileExec70714223.dir/build.make:57: recipe for target
#16 2.447   'CMakeFiles/cmTryCompileExec70714223.dir/testCXXCompiler.cxx.o' failed
#16 2.447
#16 2.447   make[1]: ***
#16 2.447   [CMakeFiles/cmTryCompileExec70714223.dir/testCXXCompiler.cxx.o] Error 1
#16 2.447
#16 2.447   make[1]: Leaving directory '/build/windows_x86/CMakeFiles/CMakeTmp'
#16 2.447
#16 2.447   Makefile:118: recipe for target 'cmTryCompileExec70714223/fast' failed
#16 2.447
#16 2.447   make: *** [cmTryCompileExec70714223/fast] Error 2
#16 2.447
#16 2.447
#16 2.447
#16 2.447
#16 2.447
#16 2.447   CMake will not be able to correctly generate this project.
#16 2.447 Call Stack (most recent call first):
#16 2.447   CMakeLists.txt:13 (project)