Skip to content

problems with cmake and mujoco and Fixed-Point-Controller #1

@swplotner

Description

@swplotner

In the CMakeLists.txt I have configured the path to mujoco as follows:

  set(mujoco_DIR /home/testswp/robotic/fixed-point-controller/mujoco-installed/lib64/cmake/mujoco)
  
  set(MUJOCO_FOLDER /home/testswp/robotic/fixed-point-controller/mujoco-installed)
  find_package(mujoco REQUIRED PATH ${MUJOCO_FOLDER})

the /home/testswp/robotic/fixed-point-controller/mujoco-installed is a complete compile and install of mujoco itself.

when I run the cmake on your project, I get the following error:

-- mujoco::FindOrFetch: Using FetchContent to retrieve `glfw3` - Done
-- Found OpenGL: /usr/lib64/libOpenGL.so   
CMake Error at CMakeLists.txt:80 (find_package):
  Found package configuration file:

    /home/testswp/robotic/fixed-point-controller/mujoco-installed/lib64/cmake/mujoco/mujocoConfig.cmake

  but it set mujoco_FOUND to FALSE so package "mujoco" is considered to be
  NOT FOUND.

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