Git Product home page Git Product logo

Comments (18)

graemeg avatar graemeg commented on August 9, 2024

Further information. Seeing as I had Linux Emulation installed under FreeBSD 11.2 I thought I would give the linux binary of genie a go, and modified the makefile's to reference that instead. It seems to have worked and I managed to build 'bgfx', 'bimg', 'bx' and 'flfw'. It then failed building the actual 'lwjgl3' with the following error. What package or program includes the 'pkg-config' executable?

shot

from lwjgl3-port.

johalun avatar johalun commented on August 9, 2024

Hi

Cool that the linux binary worked. I didn't think of trying that. If you want to build genie from source you can try the original repo https://github.com/bkaradzic/GENie

Are you missing the pkgconf package?

johannes@jm:~ % pkg which /usr/local/bin/pkg-config
/usr/local/bin/pkg-config was installed by package pkgconf-1.5.3,1

Edit: You might be able to tell it to use the freebsd native pkgconf with some environment variable but I don't know how.

from lwjgl3-port.

johalun avatar johalun commented on August 9, 2024

By the way, how did you find this repo? 😃

from lwjgl3-port.

graemeg avatar graemeg commented on August 9, 2024

Cool that the linux binary worked. I didn't think of trying that. If you want to build genie from source you can try the original repo https://github.com/bkaradzic/GENie

Thanks for the repo link. For now I don't seem to need it, but might just build a native version in case.

Are you missing the pkgconf package?

Ah yes, that was missing. I didn't know which packages it belonged too. I've install it now and building lwjgl (the last part of your build.sh script) as we speak. Hopefully all goes well to the end now. :)

By the way, how did you find this repo? :-)

I filed a bug report / feature request in LWJGL3 for FreeBSD support. Somebody there replied with your repo that I should try in the mean time. I also posted a message in the FreeBSD Forum, and they too referred me to your repo.

[edit]
lwjgl3 just completed compilation successfully. The moment of truth... does Minecraft 1.13.2 run. I'll let you know shortly.

from lwjgl3-port.

SamuelGogarty avatar SamuelGogarty commented on August 9, 2024

Im having the same issue as OP, i'm the one who attempted to build LWJGL3.2 on the FreeBSD forums.
If I could get a copy of your makefile and steps to reproduce that would be neato.

from lwjgl3-port.

johalun avatar johalun commented on August 9, 2024

I tried once running 1.13.2 but it wouldn't load. Let me know if you have more luck :)

from lwjgl3-port.

SamuelGogarty avatar SamuelGogarty commented on August 9, 2024

I tried once running 1.13.2 but it wouldn't load. Let me know if you have more luck :)

not working for me, mainly because build.sh errors out on the following:
[100%] Built target alsoft-config Cleaning... ../bx/tools/bin/bsd/genie --gcc=freebsd gmake /usr/home/kaiser/lwjgl3-port/bx/tools/bin/bsd/genie: Undefined symbol "stat@FBSD_1.5" gmake: *** [makefile:48: .build/projects/gmake-freebsd] Error 1

from lwjgl3-port.

SamuelGogarty avatar SamuelGogarty commented on August 9, 2024

Cool that the linux binary worked. I didn't think of trying that. If you want to build genie from source you can try the original repo https://github.com/bkaradzic/GENie

Thanks for the repo link. For now I don't seem to need it, but might just build a native version in case.

Are you missing the pkgconf package?

Ah yes, that was missing. I didn't know which packages it belonged too. I've install it now and building lwjgl (the last part of your build.sh script) as we speak. Hopefully all goes well to the end now. :)

By the way, how did you find this repo? :-)

I filed a bug report / feature request in LWJGL3 for FreeBSD support. Somebody there replied with your repo that I should try in the mean time. I also posted a message in the FreeBSD Forum, and they too referred me to your repo.

[edit]
lwjgl3 just completed compilation successfully. The moment of truth... does Minecraft 1.13.2 run. I'll let you know shortly.

could you post your modified makefile?

from lwjgl3-port.

graemeg avatar graemeg commented on August 9, 2024

Everything built fine with my last attempt, but when I run minecraft it still fails saying that it can't find the liblwjgl.so files. I did modify the ROOT variable in the minecraft-runtime-1.13 script. How am I supposed to launch Minecraft? I tried by running the minecraft-client-1.13 script, but I can't see anywhere where it runs on imports the minecraft-runtime-1.13 script. So maybe that is why the paths are not setup correctly for me, and the reason minecraft itself will not run. The launcher runs fine though.

from lwjgl3-port.

graemeg avatar graemeg commented on August 9, 2024

@SamuelGogarty : I used Johalun's repo, but then modified the GENIE environment paths in the makefile's to not use $(OS), but hard-coded to /tools/bin/linux/genie. It was a stab in the dark, but seems to have worked because GENIE only seem to generate some or other project files. I could do this because I have the Linux Emulation enabled in my FreeBSD 11.2 as well.

I modified bgfx, bimg and bx this way. All the rest was left as it was when I cloned the Johallun's repo.

#GENIE=../bx/tools/bin/$(OS)/genie
GENIE=../bx/tools/bin/linux/genie

I also looked at the build.sh file and installed all the packages it mentioned on line 30 onwards. eg: dyncall, assimp, gcc, gmake, cmake, apache-ant and pkgconf.

from lwjgl3-port.

SamuelGogarty avatar SamuelGogarty commented on August 9, 2024

Everything built fine with my last attempt, but when I run minecraft it still fails saying that it can't find the liblwjgl.so files. I did modify the ROOT variable in the minecraft-runtime-1.13 script. How am I supposed to launch Minecraft? I tried by running the minecraft-client-1.13 script, but I can't see anywhere where it runs on imports the minecraft-runtime-1.13 script. So maybe that is why the paths are not setup correctly for me, and the reason minecraft itself will not run. The launcher runs fine though.

did you redirect the default openjdk executable inside your minecraft profile settings to /usr/local/share/minecraft-client/minecract-runtime?

from lwjgl3-port.

johalun avatar johalun commented on August 9, 2024

You need to edit the profile in the minecraft launcher and change the executable to [where you cloned this repo]/lwjgl3-port/minecraft-runtime-1.13

from lwjgl3-port.

graemeg avatar graemeg commented on August 9, 2024

You need to edit the profile in the minecraft launcher and change the executable to [where you cloned this repo]/lwjgl3-port/minecraft-runtime-1.13

Perfect! That worked a treat. Finally I have a working Minecraft 1.13.2 running on FreeBSD 11.2 :-D Thanks for all your help.

@SamuelGogarty : Did you manage to get it working too? If you are running FreeBSD 11.2 64-bit, I could package up the compiled .so files if that might help. As for your "Undefined symbol "stat@FBSD_1.5"" error you got - that is exactly what I got. I figure out it was the GENIE executable that was compiled for FreeBSD 12.0 and doesn't run under FreeBSD 11.2. So I used the Linux executabel - I haven't tried to compile my own GENIE executable yet, but will still do so at some point.

from lwjgl3-port.

johalun avatar johalun commented on August 9, 2024

@graemeg Oh 1.13.2 is working too! I tried once before and it crashed. Tried again today and it works :)

from lwjgl3-port.

SamuelGogarty avatar SamuelGogarty commented on August 9, 2024

uhh not working for me
not sure what info i could supply to help
@graemeg

from lwjgl3-port.

SamuelGogarty avatar SamuelGogarty commented on August 9, 2024

You need to edit the profile in the minecraft launcher and change the executable to [where you cloned this repo]/lwjgl3-port/minecraft-runtime-1.13

Perfect! That worked a treat. Finally I have a working Minecraft 1.13.2 running on FreeBSD 11.2 :-D Thanks for all your help.

@SamuelGogarty : Did you manage to get it working too? If you are running FreeBSD 11.2 64-bit, I could package up the compiled .so files if that might help. As for your "Undefined symbol "stat@FBSD_1.5"" error you got - that is exactly what I got. I figure out it was the GENIE executable that was compiled for FreeBSD 12.0 and doesn't run under FreeBSD 11.2. So I used the Linux executabel - I haven't tried to compile my own GENIE executable yet, but will still do so at some point.

yeah if you could bundle it up for me that would be a great help, thanks.

from lwjgl3-port.

johalun avatar johalun commented on August 9, 2024

@SamuelGogarty The readme has been updated to inform of potential traps. Please note that this is just an ugly hack to get things running until the official port has been updated. I am not the maintainer of any of these ports.

from lwjgl3-port.

graemeg avatar graemeg commented on August 9, 2024

@SamuelGogarty : I've archived the native FreeBSD 11.2 files. I hope I got all of them. You'll obviously have to tweak the runtime scrript to point to the correct location, and modify the Minecraft launcher profile being used to reference that runtime (like @johalun mentioned). If I missed something, just let me know, and I'll make a new archive available.

You can download the archive from this link: http://geldenhuys.co.uk/~graemeg/minecraft_1.13.2_for_freebsd_11.2.tar.gz

from lwjgl3-port.

Related Issues (10)

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.