Random Chitchat 2012-2016
The builds are broken on Debian 7.

Whats wrong?
Code:
Linking C static library lib/libevent_extra.a
[ 32%] Built target event_extra
[ 33%] Building CXX object src/OSSupport/CMakeFiles/OSSupport.dir/CriticalSection.cpp.o
In file included from /root/netzwerk/MCServerGit/src/OSSupport/CriticalSection.cpp:2:
In file included from /root/netzwerk/MCServerGit/src/./Globals.h:244:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:540:6: error:
      no matching constructor for initialization of 'duration' (aka
      'std::chrono::duration<long, std::ratio<1, 1000000> >')
          : __d(__t.time_since_epoch())
            ^   ~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/condition_variable:111:42: note:
      in instantiation of function template specialization
      'std::chrono::time_point<std::chrono::system_clock,
      std::chrono::duration<long, std::ratio<1, 1000000> >
      >::time_point<std::chrono::duration<long, std::ratio<1, 1000000000> > >'
      requested here
        const __clock_t::time_point __s_atime = __s_entry + __delta;
                                                ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:234:12: note:
      candidate constructor not viable: no known conversion from
      'duration<[...], ratio<[...], 1000000000>>' to 'const duration<[...],
      ratio<[...], 1000000>>' for 1st argument
        constexpr duration(const duration&) = default;
                  ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:237:19: note:
      candidate template ignored: disabled by 'enable_if' [with _Rep2 =
      std::chrono::duration<long, std::ratio<1, 1000000000> >]
               enable_if<is_convertible<_Rep2, rep>::value
                         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:244:19: note:
      candidate template ignored: disabled by 'enable_if' [with _Rep2 = long,
      _Period2 = std::ratio<1, 1000000000>]
               enable_if<treat_as_floating_point<rep>::value
                         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:232:12: note:
      candidate constructor not viable: requires 0 arguments, but 1 was provided
        constexpr duration() : __r() { }
                  ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/chrono:227:2: error:
      static_assert failed "period must be a specialization of ratio"
        static_assert(__is_ratio<_Period>::value,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/netzwerk/MCServerGit/src/./Globals.h:439:53: note: in instantiation of
      template class 'std::chrono::duration<int,
      std::ratio_multiply<std::ratio<1, 1000>, std::ratio<50, 1> > >' requested
      here
using cTickTimeLong = std::chrono::duration<Int64,  cTickTime::period>;
                                                    ^
2 errors generated.
make[2]: *** [src/OSSupport/CMakeFiles/OSSupport.dir/CriticalSection.cpp.o] Error 1
make[1]: *** [src/OSSupport/CMakeFiles/OSSupport.dir/all] Error 2
make: *** [all] Error 2


Edit: Also I can't use pre-build MCServer files from the jenkins.
Code:
root@7265de3c25:~/netzwerk/MCServer# ./MCServer
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./MCServer)
./MCServer: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by ./MCServer)
Thanks given by:
Interesting, looks like we need now gcc/g++ 4.9 for running mc serverTongue
Upgrading gcc, g++ on my laptop...
Thanks given by:
@Howaner you seem to be using gcc 4.7, that one is not supported; since we moved to C++11 the minimum gcc version is 4.8.
Thanks given by:
It was the first time I compiled and tried a debug version (I always tried release). It was sooo slow (Mobs lagging a lot).
Then I realized it was my code: a mob tick every 5 server ticksTongue
Thanks given by:
I have a basic support for client SSL connections in Lua API. The thing seems to work, but when testing it with our webadmin, it seems flaky - sometimes the connection closes before transmitting any data. Dunno if it's the SSL's fault or the Webadmin's.
Thanks given by:
(02-01-2015, 09:17 PM)NiLSPACE Wrote: I'm actualy considering rewriting Login to finaly use sqlite3 after I finish my database class in PHP(almost done).

This would be a great thing. Finally someone else other than me doing some real SQLite work in plugins, providing another angle on the topic and a new example for newcoming plugin coders Smile
Thanks given by:
Yay, this year I did my taxes early (today instead of in a month) and I'll be receiving some extra money, I had paid more than was needed. Refunds Smile
I might be able to afford the RasPi2 after all. Although on the other hand I might save the money, I'll need it for some furniture in the new house.
Thanks given by:
Xoft, I think you should install IRChat on the gallery server.
That way, #mcserver wouldn't be as silent as it is.Big Grin
Thanks given by:
I'm not a fan of IRC at all...
Thanks given by:
I like IRC.
Thanks given by:




Users browsing this thread: 10 Guest(s)