Open RastGame opened 1 year ago
It seems your bash does not support the [[
operator. Use bash
instead of sh
if possible, i.e., bash ./build.sh Debug
. Otherwise, as a workaround, try running the commands directly
mkdir out
mkdir out/Debug
cd out/Debug
cmake ../.. -DCMAKE_BUILD_TYPE="Debug" -DJACTORIO_BUILD_TESTS:BOOL="True"
cmake --build . --config "Debug"
I have never tested it on Linux Ubuntu - sorry, I am not aware of the exact requirements. You will have to watch for linker errors during compilation or runtime and install the appropriate libraries if required.
I tried to compile the assembly on linux ubuntu, it gives a lot of errors .... but in general, what are the system requirements for Jactorio?
run in cmd /Jactorio-0.1.2$ sh ./build.sh Debug ./build.sh: 3: [[: not found ./build.sh: 3: [[: not found ./build.sh: 27: [[: not found -- The C compiler identification is GNU 11.3.0 -- The CXX compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred! See also "/Jactorio-0.1.2/out/debug/CMakeFiles/CMakeOutput.log".