Skip to content

error while executing the cmake command #119

@negishubham

Description

@negishubham

Hi,

When I am executing the cmake command: "cmake -S . -B build". I am getting the error shown below. So the error is on " FetchContent_MakeAvailable(DRAMUtils)" in the CMakeLists.txt file. Is there any specific cmake version that I need to use? I am currently using cmake-3.22 version

Error:

CMake Error at /usr/share/cmake-3.22/Modules/ExternalProject.cmake:2806 (message):
At least one entry of URL is a path (invalid in a list)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/ExternalProject.cmake:3716 (_ep_add_download_command)
CMakeLists.txt:15 (ExternalProject_Add)

-- Configuring incomplete, errors occurred!
See also "/home/DRAMPower/buildgvim/_deps/dramutils-subbuild/CMakeFiles/CMakeOutput.log".

CMake Error at /usr/share/cmake-3.22/Modules/FetchContent.cmake:1075 (message):
CMake step for dramutils failed: 1
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
/usr/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
/usr/share/cmake-3.22/Modules/FetchContent.cmake:1259 (FetchContent_Populate)
CMakeLists.txt:131 (FetchContent_MakeAvailable)

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