Skip to content

Building on windows with mingw-w64-ucrt-x86_64  #662

@zerosith

Description

@zerosith

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.

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