Giter Club home page Giter Club logo

soacode-public's People

Contributors

aaronfranke avatar barnold1953 avatar brianbruggeman avatar caseymcc avatar czaloj avatar jaxfrank avatar jessenic avatar matthewjm96 avatar pikaju avatar vyomfadia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

soacode-public's Issues

Size of SCRayNode is not 24

`struct SCRayNode {

SCRayNode(const f32v3& pos, ui16 parent, ui16 trunkPropsIndex) :

    pos(pos), trunkPropsIndex(trunkPropsIndex), wasVisited(false), parent(parent){};

f32v3 pos;

struct {

    ui16 trunkPropsIndex : 15;

    bool wasVisited : 1;

};

ui16 parent;

f32 width = 1.0f;

};

static_assert(sizeof(SCRayNode) == 24, "Size of SCRayNode is not 24");`

Flora generator assert.
This is 20 byte struct, it can't be 24, where should be the alignment?

Running on Linux

So I've finally managed to build this project on Linux, had to use clang because it wouldn't build with gcc with multiple errors, however, running the game proves to be impossible.

First of all, the launch-soa.sh generated script seems to be incomplete.

#!/bin/sh
bindir=$(pwd)
cd /home/evert/Downloads/soa/SoA/../game
export LD_LIBRARY_PATH=/home/evert/Downloads/soa/build::$LD_LIBRARY_PATH

if test "x$1" = "x--debugger"; then
	shift
	if test "x" = "xYES"; then
		echo "r -a " > $bindir/gdbscript
		echo "bt" >> $bindir/gdbscript
		 -batch -command=$bindir/gdbscript   
	else
		"" -a 
	fi
else
	"" -a 
fi

I assume that the "" -a parts are missing an executable.
As far as I understand, the executable has to be run with the working directory as game, but that doesn't work beyond the "dev screen". I press return and it just spews a bunch of errors followed by a segmentation fault. Full log: https://lunasqu.ee/gh/SoA/applog.txt

Here's the gdb backtrace for the segmentation fault:

#0  0x0000555555ab9137 in luaD_protectedparser ()
#1  0x0000555555ab5db3 in lua_load ()
#2  0x0000555555aca314 in luaL_loadstring ()
#3  0x00005555559d4b93 in vorb::script::lua::Environment::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#4  0x00005555557249f7 in ExposureCalcRenderStage::render(Camera const*) ()
#5  0x0000555555776b62 in MainMenuRenderer::render() ()
#6  0x00005555559e3e65 in vorb::ui::MainGame::run() ()
#7  0x000055555576b5bb in main ()

I was using Arch Linux on x86_64 for this testing with target: Release, built using clang.
Both "Vorb" and "game" I git checkout to "develop" branch.

unable to compile on mac

`Douglass-MacBook-Pro:soa doug$ ./build.sh
-- Travis: 0
-- Appveyor: 0
-- Password empty: 1
-- Hunter upload:
CMake Warning (dev) at cmake/hunter/HunterGate.cmake:60 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable 'HUNTER_STATUS_DEBUG'.
Call Stack (most recent call first):
CMakeLists.txt:35 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Hunter upload:
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] Secondary HunterGate (use old settings)
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] Single-configuration generator
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] List of cache servers:
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] * https://github.com/huntercache/SoA
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] Settings (finalize):
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] HunterGate done (NO)
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] Cache init (NO)
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] Variables from HunterGate:
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] HUNTER_GATE_ROOT: /Users/doug/.hunter
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] HUNTER_GATE_VERSION: 0.23.222
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] HUNTER_GATE_SHA1: 0b88baaa2a9a35b8ce632c57ade66be8dd918afd
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] Set CMAKE_DEBUG_POSTFIX to: d
-- [hunter] Calculating Toolchain-SHA1
-- [hunter *** DEBUG *** 2019-11-12T12:48:05] [/Users/doug/Documents/GitHub/SoACode-Public/soa/build/_3rdParty/Hunter/toolchain] > "/usr/local/Cellar/cmake/3.15.5/bin/cmake" "-DTOOLCHAIN_INFO_FILE=/Users/doug/Documents/GitHub/SoACode-Public/soa/build/_3rdParty/Hunter/toolchain/toolchain.info.NOLF" "-DHUNTER_SELF=/Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked" "-GUnix Makefiles" "-H/Users/doug/Documents/GitHub/SoACode-Public/soa/build/_3rdParty/Hunter/toolchain" "-B/Users/doug/Documents/GitHub/SoACode-Public/soa/build/_3rdParty/Hunter/toolchain/_builds" "-DCMAKE_MAKE_PROGRAM=/usr/bin/make" "-DCMAKE_RELEASE_POSTFIX=" "-DCMAKE_DEBUG_POSTFIX=d"
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/doug/Documents/GitHub/SoACode-Public/soa/build/_3rdParty/Hunter/toolchain/_builds
-- [hunter *** DEBUG *** 2019-11-12T12:48:06] Already exists: /Users/doug/.hunter/_Base/0b88baa/5641d50/toolchain.info
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: /Users/doug/.hunter
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] HUNTER_TOOLCHAIN_ID_PATH: /Users/doug/.hunter/_Base/0b88baa/5641d50
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] HUNTER_CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] HUNTER_BUILD_SHARED_LIBS:
-- [hunter] [ Hunter-ID: 0b88baa | Toolchain-ID: 5641d50 | Config-ID: 86db238 ]
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/Lua/hunter.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Lua versions available: [5.3.5;5.3.2;5.3.2-p2;5.1.5-p0;5.1.5-p1;5.1.5-p2;5.1.5-p3]
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'Lua' CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'Lua' is cacheable: YES
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Install to: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install
-- [hunter] LUA_ROOT: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install (ver.: 5.3.5)
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package already installed: Lua
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/Lua/hunter.cmake ... end
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/glm/hunter.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] glm versions available: [0.9.7.6;0.9.8.5;0.9.9.0;0.9.9.1;0.9.9.2]
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'glm' CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'glm' is cacheable: YES
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Install to: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install
-- [hunter] GLM_ROOT: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install (ver.: 0.9.9.2)
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package already installed: glm
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/glm/hunter.cmake ... end
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/glew/hunter.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] glew versions available: [2.0.0;2.0.0-p1]
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'glew' CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'glew' is cacheable: YES
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Install to: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install
-- [hunter] GLEW_ROOT: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install (ver.: 2.0.0-p1)
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package already installed: glew
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/glew/hunter.cmake ... end
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/SDL2/hunter.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] SDL2 versions available: [2.0.4-p8;2.0.4-p7;2.0.4-p6;2.0.4-p5;2.0.4-p4;2.0.4-p3;2.0.4-p2;2.0.4-p1;2.0.7-p1;2.0.7-p2;2.0.7-p3;2.0.4-urho-p2;2.0.4-urho-p3;2.0.4-urho-p4]
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'SDL2' CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'SDL2' is cacheable: YES
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Install to: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install
-- [hunter] SDL2_ROOT: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install (ver.: 2.0.7-p3)
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package already installed: SDL2
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/SDL2/hunter.cmake ... end
CMake Warning (dev) at Vorb/CMakeLists.txt:107 (find_package):
Policy CMP0074 is not set: find_package uses _ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

CMake variable SDL2_ROOT is set to:

/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install

Environment variable SDL2_ROOT is set to:

/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install

For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.

-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/SDL_ttf/hunter.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] SDL_ttf versions available: [2.0.14-p0]
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'SDL_ttf' CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package 'SDL_ttf' is cacheable: YES
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Install to: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install
-- [hunter] SDL_TTF_ROOT: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install (ver.: 2.0.14-p0)
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] Package already installed: SDL_ttf
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/SDL_ttf/hunter.cmake ... end
-- [hunter *** DEBUG *** 2019-11-12T12:48:07] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/enet/hunter.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] enet versions available: [1.3.13-p1]
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Package 'enet' CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Package 'enet' is cacheable: YES
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Install to: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install
-- [hunter] ENET_ROOT: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install (ver.: 1.3.13-p1)
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Package already installed: enet
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/enet/hunter.cmake ... end
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] load: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/yaml-cpp/hunter.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] yaml-cpp versions available: [0.5.3;0.5.3-plus-p0;0.5.3-p4;0.6.2-p0;0.6.2-0f9a586-p1]
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Package 'yaml-cpp' CONFIGURATION_TYPES: Release;Debug
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Package 'yaml-cpp' is cacheable: YES
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Install to: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install
-- [hunter] YAML-CPP_ROOT: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Install (ver.: 0.6.2-0f9a586-p1)
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Locking directory: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Lock done
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Already locked: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Locking directory: /Users/doug/.hunter/_Base/Download/yaml-cpp/0.6.2-0f9a586-p1/956C2B5
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Lock done
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Package 'yaml-cpp' default arguments: 'YAML_CPP_BUILD_TESTS=OFF;YAML_CPP_BUILD_TOOLS=OFF'
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Add extra CMake args: 'YAML_CPP_BUILD_TESTS' = 'OFF'
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Add extra CMake args: 'YAML_CPP_BUILD_TOOLS' = 'OFF'
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Locking directory: /Users/doug/.hunter/_Base/Cache
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Lock done
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Using CMake variable HUNTER_PASSWORDS_PATH
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Downloading DONE metafile (try #0 of 10):
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] https://raw.githubusercontent.com/huntercache/SoA/master/5641d50/yaml-cpp/0.6.2-0f9a586-p1/956C2B5/40d6237/4830b34/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] -> /Users/doug/.hunter/_Base/Cache/meta/5641d50/yaml-cpp/0.6.2-0f9a586-p1/956C2B5/40d6237/4830b34/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] File not found
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Downloading DONE metafile (try #1 of 10):
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] https://raw.githubusercontent.com/huntercache/SoA/master/5641d50/yaml-cpp/0.6.2-0f9a586-p1/956C2B5/40d6237/4830b34/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] -> /Users/doug/.hunter/_Base/Cache/meta/5641d50/yaml-cpp/0.6.2-0f9a586-p1/956C2B5/40d6237/4830b34/da39a3e/basic-deps.DONE
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] File not found
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Cache miss (no basic dependencies info found: /Users/doug/.hunter/_Base/Cache/meta/5641d50/yaml-cpp/0.6.2-0f9a586-p1/956C2B5/40d6237/4830b34/da39a3e/basic-deps.DONE)
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Keep sources for package 'yaml-cpp': NO
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Number of physical cores: 4
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Number of logical cores: 8
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Number of jobs: 8
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] HUNTER_JOBS_NUMBER:
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] HUNTER_JOBS_NUMBER (env):
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] HUNTER_JOBS_OPTION: 8
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Add package: yaml-cpp
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Download scheme: url_sha1_cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Url: https://github.com/hunter-packages/yaml-cpp/archive/v0.6.2-0f9a586-p1.zip
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] SHA1: 956C2B5FBF5AA0EB8EF5EF890C0328B3AA357A13
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] HUNTER_TLS_VERIFY: ON
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Scheme file used: /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/schemes/url_sha1_cmake.cmake.in
-- [hunter] Building yaml-cpp
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] [/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp] > "/usr/local/Cellar/cmake/3.15.5/bin/cmake" "-C/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/cache.cmake" "-C/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/args.cmake" "-H/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp" "-B/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build" "-DCMAKE_TOOLCHAIN_FILE=/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/toolchain.cmake" "-GUnix Makefiles" "-DCMAKE_MAKE_PROGRAM=/usr/bin/make"
loading initial cache file /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/cache.cmake
loading initial cache file /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/args.cmake
-- [hunter *** DEBUG *** 2019-11-12T12:48:08] Scheme: url_sha1_cmake
CMake Error: Could not open file for write in copy operation /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Release-prefix/src/yaml-cpp-Release-stamp/yaml-cpp-Release-urlinfo.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2525 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error: Could not open file for write in copy operation /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Release-prefix/src/yaml-cpp-Release-stamp/download-yaml-cpp-Release.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:1495 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2580 (_ep_write_downloadfile_script)
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2589 (file):
file failed to open for writing (Permission denied):

/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Release-prefix/src/yaml-cpp-Release-stamp/verify-yaml-cpp-Release.cmake

Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:1539 (file):
file failed to open for writing (Permission denied):

/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Release-prefix/src/yaml-cpp-Release-stamp/extract-yaml-cpp-Release.cmake

Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2602 (_ep_write_extractfile_script)
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error: Could not open file for write in copy operation /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Release-prefix/tmp/yaml-cpp-Release-cfgcmd.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2953 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3207 (_ep_add_configure_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error: Could not open file for write in copy operation /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Debug-prefix/src/yaml-cpp-Debug-stamp/yaml-cpp-Debug-urlinfo.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2525 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error: Could not open file for write in copy operation /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Debug-prefix/src/yaml-cpp-Debug-stamp/download-yaml-cpp-Debug.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:1495 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2580 (_ep_write_downloadfile_script)
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2589 (file):
file failed to open for writing (Permission denied):

/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Debug-prefix/src/yaml-cpp-Debug-stamp/verify-yaml-cpp-Debug.cmake

Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:1539 (file):
file failed to open for writing (Permission denied):

/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Debug-prefix/src/yaml-cpp-Debug-stamp/extract-yaml-cpp-Debug.cmake

Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2602 (_ep_write_extractfile_script)
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3204 (_ep_add_download_command)
CMakeLists.txt:140 (ExternalProject_Add)

CMake Error: Could not open file for write in copy operation /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/yaml-cpp-Debug-prefix/tmp/yaml-cpp-Debug-cfgcmd.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:2953 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/ExternalProject.cmake:3207 (_ep_add_configure_command)
CMakeLists.txt:140 (ExternalProject_Add)

-- Configuring incomplete, errors occurred!
See also "/Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/CMakeFiles/CMakeOutput.log".
CMake Error: Cannot open file for write: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/CMakeCache.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error: Unable to open cache file for save. /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp/Build/CMakeCache.txt
CMake Error: : System Error: Permission denied

[hunter ** FATAL ERROR **] Configure step failed (dir: /Users/doug/.hunter/_Base/0b88baa/5641d50/86db238/Build/yaml-cpp)
[hunter ** FATAL ERROR **] [Directory:/Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/yaml-cpp]

------------------------------ ERROR -----------------------------
https://docs.hunter.sh/en/latest/reference/errors/error.external.build.failed.html

CMake Error at /Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
/Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
/Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/modules/hunter_download.cmake:591 (hunter_fatal_error)
/Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/projects/yaml-cpp/hunter.cmake:72 (hunter_download)
/Users/doug/.hunter/_Base/Download/Hunter/0.23.222/0b88baa/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
Vorb/CMakeLists.txt:112 (hunter_add_package)

-- Configuring incomplete, errors occurred!
See also "/Users/doug/Documents/GitHub/SoACode-Public/soa/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
Douglass-MacBook-Pro:soa doug$
`

Hiding unused parameters behind VORB_UNUSED.

In order to get compilation to issue fewer warnings without disabling the warnings themselves, we have hidden all unused parameters behind a macro "VORB_UNUSED". This is a temporary measure and we want to review each location VORB_UNUSED is used, and follow the sequence:

  1. Do we want to reimplement/revise the system in which the function resides?
    • If yes, do so or go to step 3.
  2. Is the parameter unused in all compilation and logic paths of the code?
    • If yes, make the parameter anonymous;
    • If no, mark the parameter with VORB_MAYBE_UNUSED;
    • In either case remove the VORB_USED tag.
  3. Find the next VORB_UNUSED-tagged parameter you want to tackle and go to step 1.

On Linux Debian 32-bits, the compilation terminate on stdafx.h not found

On Linux Debian 32-bits, the compilation terminate on SoA/stdafx.h:18:10: fatal error

$ cd SoA
$ ./build.sh
(...)
Built target doc
Scanning dependencies of target soa
[ 1%] Building CXX object CMakeFiles/soa.dir/AABBCollidableComponentUpdater.cpp.o
In file included from /mnt/DDprc/Download/repos/soa/SoA/AABBCollidableComponentUpdater.cpp:1:0:
/mnt/DDprc/Download/repos/soa/SoA/stdafx.h:18:10: fatal error: Vorb/stdafx.h: Aucun fichier ou dossier de ce type
#include <Vorb/stdafx.h>
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/soa.dir/build.make:62 : la recette pour la cible « CMakeFiles/soa.dir/AABBCollidableComponentUpdater.cpp.o » a échouée
make[2]: *** [CMakeFiles/soa.dir/AABBCollidableComponentUpdater.cpp.o] Erreur 1
CMakeFiles/Makefile2:67 : la recette pour la cible « CMakeFiles/soa.dir/all » a échouée
make[1]: *** [CMakeFiles/soa.dir/all] Erreur 2
Makefile:140 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

Effectively, stdafx.h seems to be no longer in Vorb/, but there is a file named stdafx.h in Vorb/include/
So, in soa/SoA/stdafx.h, i have try to change: #include <Vorb/stdafx.h>
by: #include <Vorb/include/stdafx.h>

but it doesn't work:
(...)
Scanning dependencies of target soa
[ 1%] Building CXX object CMakeFiles/soa.dir/AABBCollidableComponentUpdater.cpp.o
In file included from /mnt/DDprc/Download/repos/soa/SoA/AABBCollidableComponentUpdater.cpp:1:0:
/mnt/DDprc/Download/repos/soa/SoA/stdafx.h:18:10: fatal error: deps/Vorb/include/stdafx.h: Aucun fichier ou dossier de ce type

Yet this file remains well in Vorb/include/
I don't understand (but my knowledge on compilation are very limited).

Error calling Lua Function: attempt to call a nil value.

Error calling Lua Function: attempt to call a nil value.
Uh oh, could not get the return values as expected.Error calling Lua Function: attempt to call a nil value.
Uh oh, could not get the return values as expected.Error calling Lua Function: attempt to call a nil value.
Uh oh, could not get the return values as expected.libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

C:/tmp/chromium/seed/Soa/build/SoA/Release/soa.exe (process 15384) exited with code -1073741510.
Press any key to close this window . . .

Screenshot (502)

Build.Bat does nothing

title says it all; i've checked the build folder, nothing
only thing it does is open CMD for af few frames.

Lua crash in MainMenuLoadScreen.cpp

Crash happens when lua is called with a string longer than one character. When

f32v2 pos = m_fUpdateVorbPosition(m_timer, nString(vorbTextureNames[i]));

is called with "CubeLeft" the function call fails and the cleanup/lack of, messes up the Lua stack and all following calls fail until memory is sooner or later accessed outside of the stack.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.