tinyev
tinyev copied to clipboard
作者可以检查下, 编译通不过,谢谢
root@ubuntu:/home/zxc/tinyev# root@ubuntu:/home/zxc/tinyev# root@ubuntu:/home/zxc/tinyev# ./build.sh
- pwd
- SOURCE_DIR=/home/zxc/tinyev
- BUILD_DIR=../tinyev-build
- BUILD_TYPE=Release
- INSTALL_DIR=../Release-install
- mkdir -p ../tinyev-build/Release
- cd ../tinyev-build/Release
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../Release-install /home/zxc/tinyev -- Configuring done -- Generating done -- Build files have been written to: /home/zxc/tinyev-build/Release
- make [ 2%] Building CXX object tinyev/CMakeFiles/tinyev.dir/EventLoop.cc.o In file included from /home/zxc/tinyev/tinyev/Timer.h:10:0, from /home/zxc/tinyev/tinyev/EventLoop.h:13, from /home/zxc/tinyev/tinyev/EventLoop.cc:15: /home/zxc/tinyev/tinyev/Callbacks.h:13:22: error: ‘string_view_literals’ is not a namespace-name using namespace std::string_view_literals; ^ /home/zxc/tinyev/tinyev/Callbacks.h:13:42: error: expected namespace-name before ‘;’ token using namespace std::string_view_literals; ^ tinyev/CMakeFiles/tinyev.dir/build.make:62: recipe for target 'tinyev/CMakeFiles/tinyev.dir/EventLoop.cc.o' failed make[2]: *** [tinyev/CMakeFiles/tinyev.dir/EventLoop.cc.o] Error 1 CMakeFiles/Makefile2:85: recipe for target 'tinyev/CMakeFiles/tinyev.dir/all' failed make[1]: *** [tinyev/CMakeFiles/tinyev.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 root@ubuntu:/home/zxc/tinyev# root@ubuntu:/home/zxc/tinyev#