Search found 609 matches
- Tue Apr 20, 2021 7:59 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 206463
Re: SunVox for ZGE
You were right on the other thread, .elf 64 file needs .so 64 library file. Now it's not crashing, but it's not working either. Here's the result for the linux x86_64 SunVox test with a music file that was previously working with sunvox.so (not sunvox_lofi.so) // launch app + sunvox init // I'm oppe...
- Mon Apr 19, 2021 6:10 pm
- Forum: Extensions
- Topic: 3D Physics with ZgeBullet
- Replies: 104
- Views: 272386
Re: 3D Physics with ZgeBullet
Oh, maybe it isn't a problem with the compiled library, as I just tried to load my SunVox example, which was working before when compiled on i386, but now it only displays "./sunvox_lofi.so"... Did you change something about the way library path is handled during the SDL2 update? I also tr...
- Mon Apr 19, 2021 5:34 pm
- Forum: Extensions
- Topic: 3D Physics with ZgeBullet
- Replies: 104
- Views: 272386
Re: 3D Physics with ZgeBullet
Now I manage to compile the file using: gcc -shared -c -I ~/bullet3-3.09/src/ -o ZgeBullet.so ZgeBullet.cpp But it also compiles with -fPIC instead of -shared, the size of the final library is different though. I don't really know which one to chose, even after reading the explanation: https://stack...
- Mon Apr 19, 2021 3:04 pm
- Forum: Extensions
- Topic: 3D Physics with ZgeBullet
- Replies: 104
- Views: 272386
Re: 3D Physics with ZgeBullet
I managed to compile bullet3. I just had to install cmake and python3-dev. By the way, it's better to download it from https://github.com/bulletphysics/bullet3/releases (where every version are stored), instead of making a full checkout, because the full thing is HUGE. +/-7go of little files... But ...
- Mon Apr 19, 2021 1:13 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM / aarch64
It's working but it displays a black screen. I've checked for the location of libsdl2 and libgl. They are present. I think I need to tell where to look at in a sh script before launching the elf. There is no help for that on the internet so I'm looking at how AnberPorts is doing with his scripts. ex...
- Mon Apr 19, 2021 12:38 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
Thanks to those changes, the bin file is working fine on raspberry 3 (aarch64 linux)
I'm still trying to run it on the RG351 console.
Edit:
Just a note in case I forget one day, you need to install libsdl2-dev to compile ZGE.
I'm still trying to run it on the RG351 console.
Edit:
Just a note in case I forget one day, you need to install libsdl2-dev to compile ZGE.
- Mon Apr 19, 2021 12:26 pm
- Forum: General discussion
- Topic: linux 64bit binary?
- Replies: 59
- Views: 47143
Re: linux 64bit binary?
Thanks to your changes with SDL2, the bin file for linux x86_64 is working perfectly
- Mon Apr 19, 2021 10:42 am
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
All right, thank you. I'm trying that on all my systems and tell you how it's going :D Edit: I also needed to add -Fu/usr/local/lib/fpc/3.3.1/units/aarch64-linux/x11/ as x is needed by sdl2.pas (line 146) Then the compilation halts on 4 errors: ZPlatform_SDL.inc(221,15) Error: Identifier not found &...
- Sat Apr 17, 2021 7:28 pm
- Forum: Feature requests
- Topic: Simplification of Player_xxx.bin
- Replies: 3
- Views: 7742
Simplification of Player_xxx.bin
I have quite a few bin files that I have to rename each time I'm trying something on a different system. So I was thinking about that and here's my suggestion: Instead of having Player.bin (windows i386) Player_linux.bin (linux i386) Player_osx86.bin (MAC OS X intel) Player_ss.bin (screen saver) We ...
- Sat Apr 17, 2021 6:58 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
I just searched your projects for all the old SDL functions, listed here: https://wiki.libsdl.org/MigrationGuide
And you are using them at least 3 times each.
That's not huge, but there's definitely some work
And you are using them at least 3 times each.
That's not huge, but there's definitely some work
- Sat Apr 17, 2021 4:27 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
Since compilation isn't working with the included libsdl2-dev, I'm installing libsdl1.2-dev simply like that: sudo apt-get update sudo apt-get install libsdl1.2-dev It works for i386 linux. But you're right, maybe it could come from this... https://www.libsdl.org/download-1.2.php I'm formatting the ...
- Sat Apr 17, 2021 1:51 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
Thanks, with the two sys_icache_invalidate lines commented out, the player is building nice.
It's almost working:
Zge projects compiled with linux aarch64 bin gives the exact same problems as linux x86_64 bin
It's almost working:
Zge projects compiled with linux aarch64 bin gives the exact same problems as linux x86_64 bin
- Fri Apr 16, 2021 10:45 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
It went a bit farther with my raspberry under raspbian 64. It compiles but I have a problem during the linking: Linking ./Build/aarch64-linux/ZzDC ZzDC.dpr(94) Warning: "crtbegin.o" not found, this will probably cause a linking failure ZzDC.dpr(94) Warning: "crtend.o" not found, ...
- Fri Apr 16, 2021 2:16 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
The 32/64 problems is coming from raspbian which is 32bits OS. https://www.raspberrypi.org/forums/view ... p?t=251721
I'll try again with a 64bits OS when I'll get home: https://downloads.raspberrypi.org/raspios_arm64/images/
I'll try again with a 64bits OS when I'll get home: https://downloads.raspberrypi.org/raspios_arm64/images/
- Fri Apr 16, 2021 1:36 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8356
Re: Compiling ZGE for linux ARM
After a few tries to cross compile for linux aarch64 from linux x86_64, I went the other way around: compiling fpc directly on a Raspberry 3, since it is supposed to be an ARM 64 processor. But when I compile Free Pascal using: svn checkout http://svn.freepascal.org/svn/fpc/trunk ~/fpc cd ~/fpc sudo...