omplapp icon indicating copy to clipboard operation
omplapp copied to clipboard

Errors in compiling omplapp on Windows

Open zzy257248 opened this issue 1 year ago • 1 comments

I installed omplapp on Windows via vcpkg successfully, and I saw a blog saying that I should enter the ompl directory, open the command line, and execute the following command:(https://www.shuzhiduo.com/A/Gkz1MO3GzR/)

mkdir build
cd build
cmake -G"Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="my_vckg_path\scripts\buildsystems\vcpkg.cmake" -DOMPL_REGISTRATION=OFF ..

I was wondering is this step necessary? Because after I ran the commands, I received erros like this:

CMake Warning:
  Ignoring extra path from command line:
   ".."
CMake Error: The source directory "D:/Code/Cpp/vcpkg-master/buildtrees/omplapp" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

I found the omplapp package on my computer is quite different from here, seeing at the screenshot: 屏幕截图 2024-09-18 174752 Could anyone explain this? Thanks!

zzy257248 avatar Sep 18 '24 09:09 zzy257248

I also ran commands in README here (https://github.com/ompl/omplapp?tab=readme-ov-file). When I ran "cmake ../..", I received similar errors:

CMake Warning:
  Ignoring extra path from command line:
   "../.."
CMake Error: The source directory "D:/Code/Cpp/vcpkg-master/buildtrees/omplapp" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

zzy257248 avatar Sep 18 '24 10:09 zzy257248