GEOS-DEV / GEOS-DEV/thirdPartyLibs

Fesapi won't build if environement variable CMAKE_BUILD_TYPE is set tu Debug

Open
#226 2 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #258 by @untereiner — merged
Dominant language
Python
Stars
4
Forks
18
Avg merge
9d 14h
Merged PRs (30d)
4

Description

It's more a minizip issue but I'll document it here:

If CMAKE_BUILD_TYPE environment variable is set CMake will use it.
If it is set to Debug, minizip will change it's lib name as libminizip_d.a instead of libminizip.a.
Then fesapi won't link because it looks for libminizip.a

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the build with CMAKE_BUILD_TYPE set to Debug and inspect how the minizip library name is selected during the Fesapi link step. Done means a Debug build links successfully despite minizip producing its debug-suffixed library name; the linked pull request should also be reviewed first.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.