Werni2A / OpenAllegroParser

OpenAllegroParser - FOSS Parser for Cadence Allegro designs.
MIT License
47 stars 10 forks source link

Fix libzippp version and upgrade Catch #15

Closed Werni2A closed 2 years ago

Werni2A commented 2 years ago

libzipp produced the following error message

/usr/bin/ld: ../vcpkg_installed/x64-linux/debug/lib/libzippp_static.a(libzippp.cpp.o): warning: relocation against `_ZSt7nothrow@@GLIBCXX_3.4' in read-only section `.text'
/usr/bin/ld: ../vcpkg_installed/x64-linux/debug/lib/libzippp_static.a(libzippp.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVN8libzippp8ZipEntryE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

See https://github.com/ctabin/libzippp/issues/158 for the issue report

A guide how to upgrade catch is located at https://github.com/catchorg/Catch2/blob/v3.0.1/docs/migrate-v2-to-v3.md#how-to-migrate-projects-from-v2-to-v3