-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux build broken currently on arch #138
Comments
Oops! I just moved that file and forgot to update some things. I'll get that fixed ASAP. Thanks! |
Looks like there are a bunch of Linux build issues here, so I'm fixing them in the temporary |
Good morning. Here is the output when linking -> The default LUA on Arch is 5.3 btw. |
Sorry about that, I wasn't done when I stopped yesterday (family things). It was still missing several files. I just pushed a commit that builds and links on my Linux Mint VM. It also breaks up the CMake file into a bunch of different static libraries (with dependencies defined separately for them), to speed up compile (and especially recompile) time. Testing it on my Mac build system now. |
Will try on arch and post back. |
Seems to have still issues with the lua stuff. 1st) LC_ALL=C cmake -DLUA_INCLUDE_DIR=/usr/include/lua5.1/ -DLUA_LIBRARY=/usr/lib/liblua5.1.so ../src/ seems to have still problems somehow to link against dynamic lua ? |
Interesting, I'll see what I can find. I'm getting similar Lua build problems on OS X currently, so something isn't right. I just checked my Linux Mint install, and I'm using the |
let me try 5.3 (arch has all 3 versions) but i supose it's something different. |
Sounds good. I'm investigating just including Lua as a sub-project and compiling it statically into the binary. That seems to work better on OS X (which always gives me problems), maybe it'll help with Linux and MSYS2 also. |
ok 5.3 doesn't work either. |
This is very strange. I just succeeded in building on OS X for the first time in a while (months) with the same CMake build. I had to nuke my "build" folder and regenerate (specifying compilers, since I'm using newer versions of Clang than Apple). Removing any reference to I just built/linked the same build on my Linux Mint VM. I'll see if I can get an Arch Linux VM running tomorrow to try and recreate the problem. I had some issues with msys2, which also uses pacman - so maybe it's something in the way the packages interact with how I'm building? Also, don't know if it helps - but I just uploaded my current Linux build to http://bfnightly.bracketproductions.com/noxfutura-linux.tgz |
i can try to use clang instead and gold instead of gcc tomorow. The build doesn't run on arch and i don't think it's good to include so many libraries. So better we fix the build. My first idea for the libraries would be use steam runtime as goal and avoid to link to minor versions directly. |
current master branch with clang and llvm toolchain: LC_ALL=C VERBOSE=1 make -j4 this indicates a bug with clang and glm inside of lua_bridge. Maybe worth checking ? Current master branch with gcc builds. Maybe the missing zlib dependency ? |
CMakeLists.txt
Line 114 -> components/item.cpp should most likely be components/items/item.cpp
/systems/helpers/inventory_assistant.hpp
each should be most likely bengine::each / or the namespace is missing like in the other template
category isn't defined
inventory_system isn't defined
hope this helps a little
The text was updated successfully, but these errors were encountered: