El diumenge, 3 de novembre del 2024, a les 1:44:49 (Hora està ndard del Centre d’Europa), Adam Sampson va escriure: > Hi Albert, > > Albert Astals Cid <[email protected]> writes: > > Available from http://poppler.freedesktop.org/poppler-24.11.0.tar.xz > > This version breaks in-tree builds, which have always worked with > previous releases. Configuring with CMake 3.30.5 fails like this if a > > separate object directory isn't specified: > | [...] > | > | use curl: yes > | use libopenjpeg2: yes > | use lcms2: yes > | command line utils: yes > | fuzz target: no > | test data dir: /src/text/poppler/work/poppler-24.11.0/../test > | > | Warning: Use of boost is recommended for better performance. > | -- Configuring done (3.6s) > | > | CMake Error at CMakeLists.txt:797 (target_sources): > | Base directories in file set cannot be subdirectories of each other: > | /src/text/poppler/work/poppler-24.11.0/poppler > | /src/text/poppler/work/poppler-24.11.0 > | > | CMake Error at CMakeLists.txt:797 (target_sources): > | File: > | /src/text/poppler/work/poppler-24.11.0/poppler/Annot.h > | > | must be in one of the file set's base directories: > | CMake Error at CMakeLists.txt:797 (target_sources): > | File: > | [... then identical errors for every header file ...] > > If you're not able to fix this, it would be nicer to have it check > explicitly that an object dir is being used, and give an appropriate > error otherwise...
Interesting, that's exactly the version I am using and in-tree builds work totally fine here. Can you describe step by step what are you doing? Cheers, Albert > > Thanks,
