Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

作者可以检查下, 编译通不过,谢谢 #1

Open
zput opened this issue Apr 27, 2018 · 0 comments
Open

作者可以检查下, 编译通不过,谢谢 #1

zput opened this issue Apr 27, 2018 · 0 comments

Comments

@zput
Copy link

zput commented Apr 27, 2018

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#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant