12-23-2014, 07:19 PM
(12-23-2014, 07:03 PM)Seadragon91 Wrote: Did you changed into the directory?
If you do
then there should be a new directory named MCServer, you need to cd (change directory) into itCode:git clone https://github.com/mc-server/MCServer.git
Then you can runCode:cd MCServer/
Code:git checkout 0d834775
Edit:
And run, to avoid compatibility problems with the API
Code:git submodule update
Code:
root@raspberrypi:/media/usbstick2# mkdir mc
root@raspberrypi:/media/usbstick2# cd mc
root@raspberrypi:/media/usbstick2/mc# git clone https://github.com/mc-server/MCServer.git
Cloning into 'MCServer'...
remote: Counting objects: 58978, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 58978 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (58978/58978), 70.06 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (45900/45900), done.
Checking out files: 100% (1229/1229), done.
root@raspberrypi:/media/usbstick2/mc# cd MCServer
root@raspberrypi:/media/usbstick2/mc/MCServer# git checkout 0d834775
HEAD is now at 0d83477... Fixed UNUSED macro so that it doesn't require type knowledge.
root@raspberrypi:/media/usbstick2/mc/MCServer# git submodule update
root@raspberrypi:/media/usbstick2/mc/MCServer# ./CIbuild.sh
-- The CXX compiler identification is GNU 4.6.3
-- The C compiler identification is GNU 4.6.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
Commit id not set, attempting to determine id from git
including polarssl
CMake Warning (dev) at lib/polarssl.cmake:7 (add_subdirectory):
The source directory
/media/usbstick2/mc/MCServer/lib/polarssl
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is
being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run
"cmake --help-policy CMP0014" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
Tools/ProtoProxy/CMakeLists.txt:28 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:90 (add_subdirectory):
The source directory
/media/usbstick2/mc/MCServer/lib/SQLiteCpp
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:98 (set_property):
set_property could not find TARGET SQLiteCpp. Perhaps it has not yet been
created.
including polarssl
CMake Error at lib/polarssl.cmake:7 (add_subdirectory):
The source directory
/media/usbstick2/mc/MCServer/lib/polarssl
does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:107 (include)
-- Configuring incomplete, errors occurred!
root@raspberrypi:/media/usbstick2/mc/MCServer#
What a hell?