Eyescale/Equalizer

Building on windows with mingw-w64-ucrt-x86_64

Opened this issue · 2 comments

Hello I'm trying to build this project on a windows 11 pc with mingw toolchain (mingw-w64-ucrt-x86_64)

I'm using Eclipse CDT4 -MinGW makefiles as the generator of the project with cmake gui.

I'm getting the following error in CMake

CMake Error at CMake/common/CommonCPPCTest.cmake:68 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "vmmlib-all".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.
Call Stack (most recent call first):
  CMake/common/CommonCPPCTest.cmake:128 (common_add_cpp_test)
  CMake/common/CommonCTest.cmake:27 (include)
  vmmlib/tests/CMakeLists.txt:9 (include)

This is the image of cmake gui with the error above
image

I have downloaded and built vmmlib with my current toolchain but I can't make CMake grab my installed vmmlib .
It seems I'm having errors with the CMake and CMake/common folders

Any hint will be welcome.

I could launch cmake with this parameters inside the Equalizer/build directory:
This is the command I used:

cmake -G "Eclipse CDT4 - MinGW Makefiles" -DCLONE_SUBPROJECTS=ON ..

Some other repositories were downloaded but I'm still having problems with collage project here is the output of cmake

 \Equalizer\build> cmake -G "Eclipse CDT4 - MinGW Makefiles" -DCLONE_SUBPROJECTS=ON ..
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/ucrt64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/ucrt64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: C:/msys64/ucrt64/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.81") found components: filesystem system thread
-- Found BISON: C:/msys64/usr/bin/bison.exe (found version "3.8.2")
CMake Error at CMakeLists.txt:70 (FIND_PACKAGE):
  By not providing "FindCollage.cmake" in CMAKE_MODULE_PATH** this project has
  asked CMake to find a package configuration file provided by "Collage", but
  CMake did not find one.

  Could not find a package configuration file provided by "Collage" with any
  of the following names:

    CollageConfig.cmake
    collage-config.cmake

  Add the installation prefix of "Collage" to CMAKE_PREFIX_PATH or set
  "Collage_DIR" to a directory containing one of the above files.  If
  "Collage" provides a separate development package or SDK, be sure it has
  been installed.

The error states:

CMake Error at CMakeLists.txt:70 (FIND_PACKAGE):
By not providing "FindCollage.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Collage", but
CMake did not find one.

But I'm assuming this is handled by common_find_package modules defined in equalizer and the
include(Common) line in the CMakelists.txt.

Can you help me defining the correct path to Collage library?

Did you ever end up figuring this out?