coordgenlibs icon indicating copy to clipboard operation
coordgenlibs copied to clipboard

Failed to build test_coordgen on static mode

Open jyhpsycho opened this issue 2 years ago • 1 comments

How to reproduce:

  1. Build static maeparser, and install on ../libmaeparser-1.2.4-220427
  2. Clone current repository.
  3. Create some build directory and chdir into it.
  4. Run following command to configure and build: cmake \ -DCMAKE_INSTALL_PREFIX=../coordgenlibs-3.0.0-220427 \ -DCOORDGEN_BUILD_SHARED_LIBS=OFF \ -Dmaeparser_DIR=../libmaeparser-1.2.4-220427 \ ../coordgenlibs cmake --build . --config Release -j

Expected behavior:

  • The build process should be complete without any errors.

Actual result:

How to fix:

  • Apply following patch. It appends missing Boost::iostreams and libz dependency on building test_coordgen. Thanks to github's file extension check. add-missing-deps.patch.txt

jyhpsycho avatar Jul 25 '22 08:07 jyhpsycho

@jyhpsycho - Would you be able to submit a PR with that patch?

d-b-w avatar Jul 25 '22 16:07 d-b-w