Does not compile on OS X 10.9 and git submodule issues
#1
Hey,

I just tried to compile MCServer on my Mac running Mavericks. I get following error:

Code:
/usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Authenticator.cpp -o build/debug/src/Authenticator.o
In file included from src/Authenticator.cpp:2:
src/Globals.h:128:11: fatal error: 'tr1/memory' file not found
        #include <tr1/memory>
                 ^
1 error generated.
make: *** [build/debug/src/Authenticator.o] Error 1

So I tried to change this line to
Code:
#include <memory>
because I read that the location changed in Mavericks. But now I get 9 other errors and very long output: http://pastebin.com/1r07HaYV

Besides I can't pull the submodules of the repo. I get following error:

Code:
Cloning into 'MCServer/Plugins/TransAPI'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:bearbin/transapi.git' into submodule path 'MCServer/Plugins/TransAPI' failed

Cloning from hand works.

And one last question: How do you compile for Raspberry PI? Can you recommend a toolchain for cross compiling on a mac?
Reply
Thanks given by:


Messages In This Thread
Does not compile on OS X 10.9 and git submodule issues - by brushmate - 12-13-2013, 05:25 AM



Users browsing this thread: 2 Guest(s)