Oh, I missed quite a few lines to change...
It works perfectly. Thanks.
Now we can compile the same project for Windows, Android and Linux without having to manually set the external library path for each builds
Search found 623 matches
- Thu Apr 22, 2021 10:33 am
- Forum: Feature requests
- Topic: [FIXED] Add LINUX as a BuiltinConstants
- Replies: 9
- Views: 12389
- Thu Apr 22, 2021 9:12 am
- Forum: General discussion
- Topic: Exporting images from ZGE
- Replies: 17
- Views: 29843
Re: Exporting images from ZGE
Since I have Delphi installed, I compiled that pascal TGA2PNG converter: https://github.com/shusaura85/tga2png It's working nicely just by dropping the tga on the exe. The reason why i went with TGA is because it's a very simple file format. You could write a exporter for BMP or PNG as well, but esp...
- Thu Apr 22, 2021 8:12 am
- Forum: Feature requests
- Topic: [FIXED] Add LINUX as a BuiltinConstants
- Replies: 9
- Views: 12389
Re: Add LINUX as a BuiltinConstants
Then my example should display CPUX64, not DETECT OS, right?
The simple line "if (LINUX) myText.Text = "LINUX";" is not working on linux.
The simple line "if (LINUX) myText.Text = "LINUX";" is not working on linux.
- Wed Apr 21, 2021 5:37 pm
- Forum: Feature requests
- Topic: [FIXED] Add LINUX as a BuiltinConstants
- Replies: 9
- Views: 12389
Re: Add LINUX as a BuiltinConstants
So I tested again by compiling ZDesigner.exe AND Player_linux.bin (x86_64). Earlier I didn't see that Zzdc is using Zc_Ops.pas But the result is the same, it doesn't change my text... What am I missing? Here's my ZGE project, just in case I am doing something wrong: <?xml version="1.0" enc...
- Wed Apr 21, 2021 2:12 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8607
Re: Compiling ZGE for linux ARM / aarch64
Just putting "libGL" isn't working. I replaced that by the full "/usr/lib/aarch64-linux-gnu/libGL.so" which works, but it's not practical. And I ended up with the simple "libGL.so" which works perfectly, whatever the linux target 8) By the way, did you see my tests for ...
- Wed Apr 21, 2021 12:47 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8607
Re: Compiling ZGE for linux ARM / aarch64
Meanwhile, here's ZGE running fine on Raspberry pi 3:
I just have one question for building more examples, what would External library ModuleName for opengl32 be on linux ?
I just have one question for building more examples, what would External library ModuleName for opengl32 be on linux ?
- Wed Apr 21, 2021 12:01 pm
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
Re: SunVox for ZGE
Now Raspberry is working too: (2660) checking args: CBBB Desired audio buffer size: 2048 frames ALSA: pulse ALSA HW Default rate: 44100 ALSA HW Rate: 44100 frames ALSA HW Buffer size: 4096 frames ALSA HW Period size: 227 ALSA HW Periods: 0 ALSA SW Avail min: 227 ALSA SW Start threshold: 1 ALSA SW St...
- Wed Apr 21, 2021 11:32 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
Re: SunVox for ZGE
Unfortunately, it doesn't work on raspberry aarch64. Again, everything is compiled from scratch. Desired audio buffer size: 2048 frames ALSA: pulse ALSA HW Default rate: 44100 ALSA HW Rate: 44100 frames ALSA HW Buffer size: 4096 frames ALSA HW Period size: 227 ALSA HW Periods: 0 ALSA SW Avail min: 2...
- Wed Apr 21, 2021 11:05 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
Re: SunVox for ZGE
I really feel up to it, and I'm deleting the old folders each time I update source code. And... WELL DONE! Music is working on x86_64 ! And there's no more error on line 575 during compilation. checking args: CBBB checking args: CBBB checking args: CBBB checking args: CBBB Desired audio buffer size:...
- Wed Apr 21, 2021 9:25 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
Re: SunVox for ZGE
So I do it again, step by step :lol: Download zge sourcecode Modify ZExpression.pas: Comment out line 575 that still prevents the build on linux Add your two debug lines Compile Player_linux.bin (x86_64) Build ZEditor.exe from source Build SunVox example But the result is the same... Edit: And I'm a...
- Wed Apr 21, 2021 8:38 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
Re: SunVox for ZGE
I like it when I have things to test with my morning coffee :wink: But the results aren't incredible: ./SunVox_x86_64_debug checking args: fail checking args: fail checking args: fail checking args: fail checking args: fail Wrong slot number -1803177552! Correct values: 0...15 checking args: fail ch...
- Tue Apr 20, 2021 5:43 pm
- Forum: General discussion
- Topic: Compiling ZGE for linux ARM / aarch64
- Replies: 23
- Views: 8607
Re: Compiling ZGE for linux ARM / aarch64
So I had a bit of time to manage to run the RG351 in console mode (Quit menu > Quit Emulationstation) and see what's going on. Here's the result when I launch the simple ZGE cube test: librga:RGE_GET_VERSION:4.00,4.000000 ctx=0x23518eb0,ctx->rgaFd=3 Rga built version:version:+2017-09-28 10:12:42 An ...
- Tue Apr 20, 2021 9:41 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
Re: SunVox for ZGE
Interesting test. So I set Delphi Compiler to "Release config - Win 64bit platform" and compiled ZDesigner.exe Then I compiled the SunVox example to x86_64 linux, then run the elf on my x86_64 linux computer. I verified that I'm effectively using linux x86_64 sunvos.so too. The result is t...
- Tue Apr 20, 2021 8:40 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
Re: SunVox for ZGE
In order to verify, I compiled SDL2 Player_linux.bin on my old i386. The musics that where previously working with 32bits sunvox_lofi.so aren't working anymore. Again, no crash, but no music either: // open app Desired audio buffer size: 2048 frames ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknow...
- Tue Apr 20, 2021 7:59 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210310
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...