cpp-io2d / P0267_RefImpl

Reference Implementations of P0267, the proposed 2D graphics API for ISO C++
Other
314 stars 115 forks source link

error of CMake execution #151

Open cxmGitHub opened 2 years ago

cxmGitHub commented 2 years ago

I have installed cairo(x64-windows) and graphicsmagick(x64-windows) successful. And I run the CMake execution commands in cmd mode successful: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" git clone --recurse-submodules https://github.com/cpp-io2d/P0267_RefImpl cd P0267_RefImpl mkdir Debug cd Debug But when I run the command: D:\vcpkg\P0267_RefImpl\Debug>cmake -G "Visual Studio 15 2017 Win64" --config Debug "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" ../. It's error, it outputs: CMake Warning: Ignoring extra path from command line: "D:/vcpkg/P0267_RefImpl/Debug/Debug" CMake Error: Unknown argument --config CMake Error: Run 'cmake --help' for all supported options.

How should I modify it?

mikami-yua commented 2 years ago

same error

joao-amaralneto commented 1 year ago

same here

brmarkus commented 8 months ago

using cmake --config Debug "-DCMAKE_BUILD_TYPE=Debug" ... instead