Home | Documentation | Atomic Chat | Github

Problem Building on linux


#1

I had posted on an old thread but maybe i should have made a new one, so here goes:
I have this error while building the engine under kubuntu 17.04, with and without --nonet:

Error copying file (if different) from "/home/kiori/Games/Atomic\ Engine/Source/AtomicGameEngine/Artifacts/Build/Linux/Source/AtomicTool/AtomicTool" to "/home/kiori/Games/Atomic\ Engine/Source/AtomicGameEngine/Artifacts/Build/AtomicTool/".
Source/AtomicTool/CMakeFiles/AtomicTool.dir/build.make:123: recipe for target 'Source/AtomicTool/AtomicTool' failed
make[3]: *** [Source/AtomicTool/AtomicTool] Error 1
make[3]: *** A apagar ficheiro 'Source/AtomicTool/AtomicTool'
CMakeFiles/Makefile2:2751: recipe for target 'Source/AtomicTool/CMakeFiles/AtomicTool.dir/all' failed
make[2]: *** [Source/AtomicTool/CMakeFiles/AtomicTool.dir/all] Error 2
CMakeFiles/Makefile2:2645: recipe for target 'Source/AtomicNET/NETNative/CMakeFiles/AtomicNETNative.dir/rule' failed
make[1]: *** [Source/AtomicNET/NETNative/CMakeFiles/AtomicNETNative.dir/rule] Error 2
Makefile:599: recipe for target 'AtomicNETNative' failed
make: *** [AtomicNETNative] Error 2
/home/kiori/Games/Atomic Engine/Source/AtomicGameEngine/Build/node_modules/jake/lib/api.js:340
        throw errObj;
        ^

Error: Process exited with error.
    at api.fail (/home/kiori/Games/Atomic Engine/Source/AtomicGameEngine/Build/node_modules/jake/lib/api.js:336:18)
    at null.<anonymous> (/home/kiori/Games/Atomic Engine/Source/AtomicGameEngine/Build/node_modules/jake/lib/utils/index.js:124:9)
    at emitTwo (events.js:87:13)
    at emit (events.js:172:7)
    at ChildProcess.<anonymous> (/home/kiori/Games/Atomic Engine/Source/AtomicGameEngine/Build/node_modules/jake/lib/utils/index.js:227:20)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)

And if i try with these flags:
sh Build_AtomicEditor.sh --nonet --with-android --with-docs --package --with-web --opengl

I get the following:
Building Atomic Editor, this process will take a few minutes
ANDROID_NDK environment variable not set, exiting


#2

Do you have required packages for .NET installed? You can find list of package dependencies for several distros on wiki page.

For android you have to set ANDROID_SDK and ANDROID_NDK environment variables before invoking cmake or build shellscripts.


#3

I thought you didnt ‘need’ .net with -nonet.


#4

True, but errors mention AtomicNETNative.


#5

here is sample .bashrc

export ANDROID_NDK=/home/xxxx/Android/Sdk/ndk-bundle/
export EMSCRIPTEN=/home/xxxx/Android/emsdk-portable/
export EMSCRIPTEN_ROOT_PATH=/home/xxxx/Android/emsdk-portable/