Closed Lunanne closed 12 years ago
Seems I am still on gcc4.4 I'll try to update >.> It should be changed in the tutorial though, apart from the gcc version number, cmake isn't listed as dependency.
What does "gcc --version" say? Dirtsand requires GCC 4.6.
Kind regards, diafero
On Tuesday 06 March 2012 15:07:01 you wrote:
Folllowing the Dirtsand installation tutorial here : http://www.guildofwriters.org/wiki/Development:DirtSand, I get the following error during the "make" command.
dirtsand@vm-debian:~/src/build$ make [ 1%] Building CXX object CMakeFiles/dirtsand.dir/GateKeeper/GateServ.cpp.o /home/dirtsand/src/GateKeeper/GateServ.cpp: In function ‘void DS::GateKeeper_Shutdown()’: /home/dirtsand/src/GateKeeper/GateServ.cpp:239: error: ‘sleep_for’ is not a member of ‘std::this_thread’ make[2]: ***
[CMakeFiles/dirtsand.dir/all] Error 2 make: *\ [all] Error 2
OS: Debian 4.0.6 64-bit
Reply to this email directly or view it on GitHub: https://github.com/H-uru/dirtsand/issues/57
Damnit, I was too slow ;-)
I updated the tutorial, and I'm trying to have cmake check the GCC version.
There doesn't seem to be an gcc-4.6 available yet in apt, is this just Debian being slow with updating? (or some error in my configuration >.>)
GCC 4.6 is available for current Debian testing. I doubt the stable Debians will get that new version in their main repo. Maybe there are extrnal sources to get it, I don't know.
Kind regards, daifero
On Tuesday 06 March 2012 15:53:51 you wrote:
There doesn't seem to be an gcc-4.6 available yet in apt, is this just Debian being slow with updating? (or some error in my configuration >.>)
Reply to this email directly or view it on GitHub: https://github.com/H-uru/dirtsand/issues/57#issuecomment-4345586
You should only try to run old stuff on debian stable. Debian testing is stable enough and supports modern software however.
Right, Debian 6.0.x is locked to gcc 4.4... I recently merged the C++11 branch to master, since std::thread provides much better C++ threading support than pthreads, but that change requires GCC 4.6.
FWIW, I personally have been using Debian Testing on my server for quite some time, and it's more than stable enough for things like game servers and low-traffic web servers (it's what I test DS on). Luckily, Debian-based systems are easy to update -- just replace "squeeze" with "testing" in your apt config and then do a full update :).
Erm... "squeeze" with "wheezy"
wheezy is currently testing, and will become the next version of Debian eventually... Using either "wheezy" or "testing" in sources.list will result in the same behavior, up until wheezy gets released ;)
Folllowing the Dirtsand installation tutorial here : http://www.guildofwriters.org/wiki/Development:DirtSand, I get the following error during the "make" command.
dirtsand@vm-debian:~/src/build$ make [ 1%] Building CXX object CMakeFiles/dirtsand.dir/GateKeeper/GateServ.cpp.o /home/dirtsand/src/GateKeeper/GateServ.cpp: In function ‘void DS::GateKeeper_Shutdown()’: /home/dirtsand/src/GateKeeper/GateServ.cpp:239: error: ‘sleep_for’ is not a member of ‘std::this_thread’ make[2]: * [CMakeFiles/dirtsand.dir/GateKeeper/GateServ.cpp.o] Error 1 make[1]: * [CMakeFiles/dirtsand.dir/all] Error 2 make: *\ [all] Error 2
OS: Debian 4.0.6 64-bit