Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in compiling omplapp on Windows #15

Open
zzy257248 opened this issue Sep 18, 2024 · 1 comment
Open

Errors in compiling omplapp on Windows #15

zzy257248 opened this issue Sep 18, 2024 · 1 comment

Comments

@zzy257248
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant