Coder Social home page Coder Social logo

64bit linux support about clanmod-jka HOT 6 CLOSED

 avatar commented on June 8, 2024
64bit linux support

from clanmod-jka.

Comments (6)

erfg12 avatar erfg12 commented on June 8, 2024

Do you have GCC? Try compiling the code to x86_64. Currently I'm at work
and I don't have a Linux OS handy.

You can try this, I pulled these notes from some compilation guide on the
internet...

Linux/Mac OS X CMake notes

Building on Linux or Mac OS X requires SDL2.
If you wish to build on 64-bit Linux, you should force it to build 32-bit
for now, by adding the CMake flags -DCMAKE_CXX_FLAGS=-m32
-DCMAKE_C_FLAGS=-m32 -DCMAKE_SHARED_LINKER_FLAGS=-m32
-DCMAKE_SIZEOF_VOID_P=4

Basically changing the makefile to write 32/64 bit code instead of i386.
No idea if it will work or not.

On Tue, October 6, 2015 9:21 am, Thandriel wrote:

While running on 64bit linux machine (using openJK) it throws:

Sys_LoadGameDll(/home/than/.local/share/openjk/clanmod/jampgamex86_64.so)
failed: "/home/than/.local/share/openjk/clanmod/jampgamex86_64.so: cannot
open shared object file: No such file or directory"
Sys_LoadGameDll(./clanmod/jampgamex86_64.so) failed:
"./clanmod/jampgamex86_64.so: cannot open shared object file: No such
file or directory"
Sys_LoadGameDll(/home/than/.local/share/openjk/base/jampgamex86_64.so)
failed: "/home/than/.local/share/openjk/base/jampgamex86_64.so: cannot
open shared object file: No such file or directory" VM_Create:
jampgamex86_64.so succeeded ```
The mod provides only jampgamei386.so.


---
Reply to this email directly or view it on GitHub:
https://github.com/erfg12/clanmod-jka/issues/5

from clanmod-jka.

 avatar commented on June 8, 2024

It seems it was sort of pebkac problem :) Tried compiling myself even before I created this ticked and it didn't solve it. Tried again today and it works. Of course I had to rename the file from i386 to x86_64. FYI I succeeded compiling the library just with make command, no arguments needed and with provided gcc makefile. I'm on ubuntu 15.04 x86_64.

from clanmod-jka.

erfg12 avatar erfg12 commented on June 8, 2024

If you get a chance, give me a copy and I'll distribute it with the next build package.

from clanmod-jka.

 avatar commented on June 8, 2024

Here you go. Sorry for delay :)

from clanmod-jka.

erfg12 avatar erfg12 commented on June 8, 2024

Ok, I requested access. Need approval.

from clanmod-jka.

 avatar commented on June 8, 2024

Weird. Anyway access granted.

Edit: The file should be now accessible to anyone with it's link.

from clanmod-jka.

Related Issues (20)

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.