Comments (4)
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.
Which version of gcc are you using?
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4
from tec.
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.
it also doesn't work with clang 3.8, l guess the readme isn't up to date
from tec.
Related Issues (20)
- Create CONTRIBUTING doc
- Build fail with VCPKG's spdlog HOT 1
- Add OSX builds to releases HOT 2
- Release assets folder is empty HOT 2
- Create list of entity types and provide a mechanism to determine the currently selected one
- Add the ability to save/load game state
- Build error libobjc.dylib OSX 11.0.1 HOT 1
- Find a way to better iterate over computer devices in VComputerSystem
- Expose certain APIs to Lua HOT 4
- Second computer screen blank on OSX HOT 1
- Wire up saving to a chat command HOT 1
- Add support for IPv6
- Fix unneeded loading of dynamic libraries on the client macOS HOT 5
- Add Lua API docs for SaveGame and UserList
- Create coding standards doc for Lua API HOT 1
- Expand animation class to support playing through animations once, and more
- Route user entity state updates from systems to User::entity_state
- Add application signing for windows releases
- Centralize RegisterLuaType calls from server/main.cpp into LuaSystem HOT 2
- Document or build out automation to start multiple projects simultaneously
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tec.