ompl / omplapp

The Open Motion Planning Library (OMPL), GUI + FCL/Assimp integration
https://ompl.kavrakilab.org
Other
149 stars 81 forks source link

Errors in compiling omplapp on Windows #15

Open zzy257248 opened 2 weeks ago

zzy257248 commented 2 weeks ago

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 commented 2 weeks ago

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.