InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

HDF5 library installed file names in Debug vs Release

Open
#5,456 5 comments 0 reactions 0 assignees View on GitHub
type:Bug
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

If I build with BUILD_SHARED_LIBS=NO, CMAKE_BUILD_TYPE=Release, and `make install` I get HDFs libraries with files names:

- libitkhdf5_cpp.a
- libitkhdf5_hl_cpp.a
- libitkhdf5_hl.a
- libitkhdf5.a

Whereas if I build as CMAKE_BUILD_TYPE=Debug I get:

- libitkhdf5_cpp-static-6.0_debug.a
- libitkhdf5_hl_cpp_debug.a
- libitkhdf5_hl-static-6.0_debug.a
- libitkhdf5-static-6.0_debug.a

Notice 3 differences:

- the addition of `_debug`
- the addition of `-static` on 3 of 4
- the addition of `6.0` on 3 of 4

Is all this deliberate? Is it ITK doing it or HDF5? No other files have these differences between Debug and Release, only these 4.

Also, probably unrelated, I also just noticed while writing this, that 3 other files have `5.0` in their name instead of `6.0`. Is that expected?

- libITKgiftiio-5.0.a
- libITKniftiio-5.0.a
- libITKznz-5.0.a

This is all with current master.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.