Skip to content

libcimpp now does not build in Windows #45

@leonardocarreras

Description

@leonardocarreras

Dear Maintainers,

These lines

# options: USE_MSXML, USE_EXPAT, USE_LIBXML2, USE_XERCES
set(ARABICA_XML_BACKEND USE_LIBXML2)
#
# find libxml2: LIBXML2_INCLUDE_DIR LIBXML2_LIBRARIES
if(ARABICA_XML_BACKEND STREQUAL USE_LIBXML2)
set(ARABICA_USE_LIBXML2 TRUE)
find_package(LibXml2 REQUIRED)
set(ADDITIONAL_INC ${LIBXML2_INCLUDE_DIRS})
set(ADDITIONAL_LIB ${LIBXML2_LIBRARIES})
endif()

Makes the compilation to break in windows, when building from source. This is because it is trying to use libxml2. This is the situation now when trying to update in sogno/dpsim to v2.2.0
https://github.com/sogno-platform/dpsim/actions/runs/17471671938/job/49621380615#step:5:146

This seems not to be the expected behaviour here in the original repository used for arabica
https://github.com/jezhiggins/arabica/blob/110d524d2ab638855921a0c53eced7b3d08878be/CMakeLists.txt#L82-L95

Is stopping support in Windows intended in libcimpp? Is maybe a configuration option that I might be missing to add to the compilation command?

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