Skip to content

Errors in compiling omplapp on Windows #15

Open
@zzy257248

Description

@zzy257248

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!

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