Skip to content

Windows build #124

@w3sip

Description

@w3sip

Is the frameworks supposed to build or, or be deployed under Windows?

I'm attempting to build it under Windows, and a variety of environments seem to fail. Here's the output of the last attempt (VS 2022 Developer Command Prompt, cmake 3.29.2):

rm -rf *
export FN=openmpf-sdk2
export BOOST=u:/.conan/83395a/1
export LOG4CXX=u:/.conan/f61671/1
export OPENCV=u:/.conan/c87e44/1
git clone "https://github.com/openmpf/openmpf-cpp-component-sdk.git" --single-branch --branch "r8.0.0" $FN
sed -i "s~pkg_search_module(LOG4CXX REQUIRED liblog4cxx)~~" $FN/detection/utils/CMakeLists.txt 
cmake -G "Visual Studio 17 2022" \
    -DCMAKE_PREFIX_PATH="$OPENCV;$LOG4CXX/lib/cmake/log4cxx" \
    -DCMAKE_LIBRARY_PATH="$LOG4CXX/lib" \
    -DCMAKE_PREFIX_PATH="$OPENCV" \
    -DCMAKE_CXX_FLAGS="-D_USE_MATH_DEFINES /EHsc -I$LOG4CXX/include -I$BOOST/include" \
    $FN
cmake --build . --target install

The output is attached.
buildLog.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions