Open 128ve900 opened 4 years ago
Release前面漏了个等号?
于老师,我尝试Release前面加等号,仍然会报错 Unknown argument --config=Release Unknown argument -DDEMO=OFF
我是按照COMPILE.md 里面的指导逐步进行的:
执行 cmake .. -DCMAKE_PREFIX_INSTALL=install,输出日志是: `AVX512 = OFF AVX2 = ON NEON = OFF OpenMP = TRUE DEMO = OFF -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_PREFIX_INSTALL
-- Build files have been written to: ***/build `
执行 cmake --build . --config Release -DDEMO=OFF,输出日志是: `Unknown argument -DDEMO=OFF Usage: cmake --build
请问编译时对系统环境还有要求吗?我现在的系统是: `Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
gcc version 5.4.0
cmake version 3.5.1
GNU Make 4.1 Built for x86_64-pc-linux-gnu`
期待您的回复,谢谢!
I have the same error.Have you solve it?
you can modify the CMakefile.txt by adding "set(DEMO OFF)",then cmake --build . --config Release
note: before the line "if (DEMO)"
于老师,您好! 我在编译动态库, 执行 cmake --build . --config Release -DDEMO=OFF 时,报错 Unknown argument -DDEMO=OFF, 请问是什么原因导致的呢?