GithubHelp home page GithubHelp logo

Comments (4)

adam4813 avatar adam4813 commented on August 18, 2024

Which version of gcc are you using? Also there will be a merging tonight of
a bunch of changes.
On May 14, 2016 1:57 AM, "HybridDog" [email protected] wrote:

l updated cmake to 3.2.2 (from there
https://launchpad.net/~george-edison55/+archive/ubuntu/cmake-3.x
https://launchpad.net/%7Egeorge-edison55/+archive/ubuntu/cmake-3.x), a
cmake version higher than 3.1 should also work, shouldn't it?

[ 10%] Built target VCOMPUTER_STATIC
[ 59%] Built target libprotobuf
[ 68%] Built target glfw
[ 73%] Built target Bullet
[ 75%] Building CXX object CMakeFiles/TEC_LIB.dir/src/vcomputer-system.cpp.o
tec/src/vcomputer-system.cpp: In member function 'void tec::Computer::In(const tec::proto::Component&)':
tec/src/vcomputer-system.cpp:39:37: error: 'make_unique' is not a member of 'std'
std::unique_ptr trcpu = std::make_unique();
^
tec/src/vcomputer-system.cpp:39:60: error: expected primary-expression before '>' token
std::unique_ptr trcpu = std::make_unique();
^
tec/src/vcomputer-system.cpp:39:62: error: expected primary-expression before ')' token
std::unique_ptr trcpu = std::make_unique();
^
make[3]: *** [CMakeFiles/TEC_LIB.dir/src/vcomputer-system.cpp.o] Error 1
make[2]: *** [CMakeFiles/TEC_LIB.dir/all] Error 2
make[1]: *** [CMakeFiles/TEC.dir/rule] Error 2
make: *** [TEC] Error 2


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#74

from tec.

HybridDog avatar HybridDog commented on August 18, 2024

Which version of gcc are you using?

gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4

from tec.

jmf avatar jmf commented on August 18, 2024

make_unique is supported only in gcc versions 4.9 and higher, which is only available in Ubuntu 15.10 and higher.
CMake should output an error there, @adam4813 is working on solving that right now.

from tec.

HybridDog avatar HybridDog commented on August 18, 2024

it also doesn't work with clang 3.8, l guess the readme isn't up to date

from tec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.