Thank you very much for your comment. This way is definitelythe way to compile
using cmake. I am not really so familiar with
cmake and my "hack" was really dirty.
Best regards,Apostolos
--Apostolos Syropoulos
Xanthi, Greece
On Sunday, January 7, 2024 at 02:42:05 PM
Hi Apostolos
You can also set these variables via Commandline by using "-D". Examples
the patch bellow can be exoressed as
> $ export
PKG_CONFIG_PATH=/usr/openssl/3.1/lib/amd64/pkgconfig:/usr/lib/amd64/pkgconfig$
CC=/usr/bin/gcc-13 CXX=/usr/bin/g++-13 cmake
-DPODOFO_BUILD_LIB_ONLY=FALSE
I have finally managed to compile the podofo tools and the library butI was
mainly interested in the tools. First, I had to download the latestversion from
https://github.com/podofo/podofo/tree/0.10.x
For some reason, one cannot easily find this version... Next, I "patched" file
CMakeLists.txt
maybe you have to set a different c++ standard. enable verbose build to see the
actual g++ command.
On Fri, 5 Jan 2024 19:37:42 + (UTC), Apostolos Syropoulos via
openindiana-discuss wrote:
> Hello,
>
> I tried to compile PODOFO with gcc 13 and I get the following error:
>
>
> [ 65%]
Hello,
I tried to compile PODOFO with gcc 13 and I get the following error:
[ 65%] Building CXX object test/unit/CMakeFiles/podofo-test.dir/ParserTest.cpp.o
[ 65%] Building CXX object
test/unit/CMakeFiles/podofo-test.dir/TokenizerTest.cpp.o
[ 66%] Building CXX object