libuipc: Windows Conda: CMake Could Not Find `Eigen3`

Following the build tutorial and calling

cd libuipc; cd ..; mkdir CMakeBuild; cd CMakeBuild
cmake -S ../libuipc -DUIPC_BUILD_GUI=0 -DCMAKE_BUILD_TYPE=<Debug/Release/RelWithDebInfo>

I got these build errors:

CMake Error at src/core/CMakeLists.txt:1 (find_package):
  By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Eigen3", but
  CMake did not find one.

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

    Eigen3Config.cmake
    eigen3-config.cmake

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

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (11 by maintainers)

Most upvoted comments

I have identified the issue and instead of using a virtual environment, I am testing using the system’s built-in Python. After executing cmake - build-- After the config<Release/RelWithDebInfo>- j8 step. I tried to run the 0uhello_uipc.py file, but encountered an error with the Runtime Error: Could not load library “D:\python\Lib\site-packages\pyuipc_loader\Release\bin/uipc_backend_cuda.dll”, I searched and found that there was indeed no uipc_mackend_cuda.dll file in that directory, but it appeared in the libuipc \ python \ src \ pyuipc-loader \ Release \ bin directory. So I copied it and found that it could run. Thank you again for answering my question!