Closed Razish closed 10 years ago
Done in 043e5a7eabbf36be7478040ab7bebaaa4c6107f4 + c9c4034d871a2f5a43592a11b86d9fe45e744c5a + c7ba54af81e8f3bd3a1bb24115e2a4329614752a Only tested 32 bit build on on 32 bit Ubuntu using OpenJK, but Raven's JA should work fine as it does on Windows.
Still some minor (visual) bugs and haven't tested x86_64 builds though it compiles fine.
Compile via e.g. scons project=1
where project is game, cgame or ui
Defaults to a debug build. Fiddle with SConscript for release builds.
Leaving this open until visual bugs are fixed and x86_64 is confirmed working. /me pokes @KaldNL
@Razish awesome :)
Can't get it to build on two different systems, though. Both return this:
/bin/ld: cannot find -llua5.1 collect2: error: ld returned 1 exit status scons: *\ [cgamex86_64.so] Error 1 scons: building terminated because of errors.
Fedora 19 x86_64 and 32 bit CentOS 5.
game + cgame need Lua, UI needs cURL. Package names on my system are libcurl4-openssl-dev liblua5.1-0-dev I may opt to compile from source later on. Maybe.
Allowed debug + release configuration in 2e770f499508db3719c4b54a3e21c3b22b4e704d
Tested 32 bit compile, works. Kaldor confirmed it runs.
On Arch Linux, I can build it, but it builds x86_64, and AFAIK openjk is still limited to 32bit. Will the plugin still work when Architectures are mixed?
OpenJK works fine with x86_64, it has for months. No, I don't think you can mix x86_64 and i386 in this case.
Thanks for the hint (maybe openjk should update the info on their readme ;) ). Built the plugin, and can confirm it's working, apart from a visual glitch in the saber selection menu (should i open a new issue about this?).
Distribution is Arch Linux, x86_64, OpenJK built today from latest git.
The saber selection menu glitch was mentioned on the JA++ forums, but a Github issue wouldn't hurt. Maybe with a screenshot and related console information if any :>
You're right about the OpenJK readme. I think the main reason for it being there is there may be one or two edge cases where x86_64 causes issues, and the fact there is not support for x86_64 on Windows as of yet (would need to rebuild libraries, and there might be issues with sound code? I don't remember)
The question is, do you prefer bugs on github, or threads in your forum (or maybe both)?
Github, now that the project is here. I use Github more often.
Closing this now. As of 3b63100229f65ad107240e0fe2e29ce6a7b8419a lua is now compiled from source and cURL is not used.
Preferrably with x64 support, and new OpenJK module API?