Trying to Port Etarkangaroo to Linux

9 replies 445 views
HumbleSatMember
Posts: 1 · Reputation: 94
#1Oct 30, 2023, 12:55 PM
Hey everyone! So, I'm trying to get Etarkangaroo to run on Linux. It's a software created by Etar or Etayson, based on some code by JeanLucPons. Right now, it's only in PureBasic and compiles for Windows. I managed to compile it for Linux, but it’s not all smooth sailing. When I run it with a real task, it crashes with a 'Segmentation Fault'. It seems like there's some issue with memory access or allocation. I did some debugging and found the exact line causing the crash. Anyone have tips on how to fix these errors?
3 Reply Quote Share
Posts: 1362 · Reputation: 35
#2Oct 30, 2023, 07:10 PM
+1, good luck with that!
3 Reply Quote Share
Posts: 1362 · Reputation: 35
#3Oct 30, 2023, 11:48 PM
Sounds tricky, I’ve faced similar issues before. It’s all about those memory pointers. You might want to check if PureBasic has specific libraries that aren't compatible with Linux.
1 Reply Quote Share
Posts: 1362 · Reputation: 35
#4Oct 31, 2023, 03:35 AM
Segmentation faults are annoying. Have you tried using Valgrind? It helps catch those memory issues.
0 Reply Quote Share
Posts: 1362 · Reputation: 35
#5Oct 31, 2023, 07:27 AM
Bruh, I can't believe you're still using PureBasic for something like this lol.
4 Reply Quote Share
Posts: 1362 · Reputation: 35
#6Oct 31, 2023, 11:54 AM
Not sure if worth the effort. Maybe look for alternatives that are more stable on Linux?
3 Reply Quote Share
Posts: 1362 · Reputation: 35
#7Oct 31, 2023, 05:20 PM
I disagree. If you can get it to work, it's a cool project. Plus, learning experience!
1 Reply Quote Share
Posts: 1362 · Reputation: 35
#8Oct 31, 2023, 10:53 PM
Curious about that line you mentioned. What does it do? Could it be related to how Linux handles memory compared to Windows?
1 Reply Quote Share
Posts: 1362 · Reputation: 35
#9Nov 1, 2023, 03:42 AM
Yeah, let’s see the code causing the issue.
3 Reply Quote Share
Posts: 1362 · Reputation: 35
#10Nov 1, 2023, 06:34 AM
I just want to get it running on my server. Anyone else tried this?
5 Reply Quote Share

Related topics