Skip to content

Failed to build test_coordgen on static mode #116

@jyhpsycho

Description

@jyhpsycho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions