easy_mace
easy_mace copied to clipboard
how to build test_example.cc
test_example kom$ cmake . -- The CXX compiler identification is AppleClang 9.1.0.9020039 -- The C compiler identification is AppleClang 9.1.0.9020039 -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Error at CMakeLists.txt:17 (easy_mace_build_test): Unknown CMake command "easy_mace_build_test".
CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.10)
should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
show me the system and cmake version.
@conansherry How to run test_example.cc?
@sfzhoujob which platform do you use?
@conansherry windonws
enable BUILD_TEST in cmake config. @sfzhoujob use mace model an change some code about the model. use visual studio to build the test_example
i meet the same error about "Unknown CMake command "easy_mace_build_test"." when i try to build test_example.cc on Ubuntu. Do your know how to fix it