Skip to content

LibArrow in Contrib is missing Debug libs #182

Description

@cbielow

When Arrow is build via contrib the Release and Debug libs are created in their respective subfolders, e.g.
C:\dev\contrib\build\src\arrow-apache-arrow-23.0.0\cpp\src\arrow\arrow_array_static.dir\Debug\arrow_array_static.lib
and
C:\dev\contrib\build\src\arrow-apache-arrow-23.0.0\cpp\src\arrow\arrow_array_static.dir\Release\arrow_array_static.lib

Since both versions have the same name, only one of them ends up in contrib/build/lib.
When compiling, MSVC complains that it cannot use the release arrow lib when building OpenMS in Debug mode
e.g.
mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in MockImplementation.obj

Fix: provide a arrow_array_staticd.lib version, I guess. This is required for all arrow-related libs (parquet_static.lib, arrow_bundled_dependencies.lib, ...)

Metadata

Metadata

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