Re: [G3D] Compiling with Debian on ARM-architecture

51 views
Skip to first unread message

Morgan McGuire

unread,
May 12, 2013, 10:23:51 AM5/12/13
to g3d-...@googlegroups.com
"I have nearly no experience with programming"...and yet you're successfully modifying a complicated 3D C++ library to run on an operating system and embedded system that it wasn't designed for.

You're funny, and awesome.  Thanks for the patch, we'll integrate this in the coming weeks (Linux patch pipeline is moving smoothly, but is long right now).

-m


Prof. Morgan McGuire
Computer Science Department
Williams College
http://cs.williams.edu/~morgan


On Sun, May 12, 2013 at 7:12 AM, Frank P <f28...@rmqkr.net> wrote:
Greetings.

First of all I have to say, that I have nearly no experience with programming, so unfortunately I can't go too much into detail. Sorry for that.

Right now I'm trying to compile a game server emulation on a Raspberry Pi with Soft-float Debian “wheezy” installed on it. The thing is, that the compile-procedure keeps crashing, when it comes to G3D. I can make it compile, when I do some changes to the code (I'll describe below), but I was told, that these changes are pretty wrong and will cause bigger problems sooner or later. So I would really appreciate, if I could get some help to make it work properly. Since I have no experience, I can't imagine, how much work this will take...


To make the emulation compile I had to change 3 files:

 - platform.h: I added some lines to define "__cdecl"
found here: http://arcemu.org/forums/index.php?showtopic=26362

- atomic32int.h and system.cpp: I had to apply several changes, I found here:
https://github.com/Tasssadar/mangos-arm/commit/67c442fa0c10e82b282b83a8fe485588f8786e12
On the page above I only applied the changes of the mentionied two files. Any other changes have been avoided by the edit of platform.h, the installation of ACE6.x and  the usage of soft-float Debian.

With kind regards
Frank


--
You received this message because you are subscribed to the Google Groups "G3D Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to g3d-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Frank P

unread,
May 12, 2013, 11:00:10 AM5/12/13
to g3d-...@googlegroups.com


Am Sonntag, 12. Mai 2013 16:23:51 UTC+2 schrieb Morgan McGuire:
...and yet you're successfully modifying a complicated 3D C++ library to run on an operating system and embedded system that it wasn't designed for.

You're funny, and awesome.  Thanks for the patch, we'll integrate this in the coming weeks (Linux patch pipeline is moving smoothly, but is long right now).

Thank you very much for the fast and kind reply. But I just implemented what I googled together to prevent compiling from crashing. I can't take credit for that. I really have no clue, what I did there ;-) But before implementing this for a productive system, I wanted to show the professionals, whether this would cause more trouble or not.

Regards
Frank

Michael Mara

unread,
May 12, 2013, 11:24:16 AM5/12/13
to g3d-...@googlegroups.com
I'm interested in this as well. I'm overloaded with work at the moment, but I can help a little bit in a week or so.


--
Reply all
Reply to author
Forward
0 new messages