ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: 13thSlayer on November 24, 2009, 12:17:38 PM

Title: Compiling on Linux... Possible?
Post by: 13thSlayer on November 24, 2009, 12:17:38 PM
As Enigma core is just G++ ported to windows, i thought, what the hell, can i use the original G++ somehow, instead of the core thingy? Now decided to post it here...
Title: Re: Compiling on Linux... Possible?
Post by: Josh @ Dreamland on November 25, 2009, 10:34:33 PM
Sure. R3 had a mechanism for using GCC ad-hoc, if you liked. (Search compile.h or whatever it was for the specifics).

Not sure what you want to do. If you have GCC installed already and don't want to download the core, that's the reason it was divided into two segments. However, I later realized what a bad idea that was since most people just want an easy-to-install package.

If you intend on getting it to work for Linux, it already does for R4, and getting R3 to do it would be a trick (though feasible for those who can work SVN and C++ enough to download and install ENIGMA's Linux port from the repo).
Title: Re: Compiling on Linux... Possible?
Post by: 13thSlayer on November 27, 2009, 09:28:07 AM
Oh, well, R3 was hardly usable at all anyhow. Will wait for R4.
Title: Re: Compiling on Linux... Possible?
Post by: freezway on December 31, 2009, 08:27:05 PM
I will use enigma when I can on my Ubuntu machine. The only other computer in my house I can make games on is a PIII with 512MB ram. It's 8 years old. I am looking forward to a Linux compatible release even if its a pre-alpha.
Title: Re: Compiling on Linux... Possible?
Post by: freezway on December 31, 2009, 11:30:45 PM
Interesting, when I try to compile it with wine I get an "interesting error":
Code: [Select]
blah@blah-desktop:~/Desktop/enimga$ wine CompileEGMf.exe Desktop/testing.gm6A rather interesting error occurred. Failed to load definitions. Line 110. Error code -1. td::string is not a typename. The program can continue, but functions may not work.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
blah@blah-desktop:~/Desktop/enimga$
Title: Re: Compiling on Linux... Possible?
Post by: score_under on January 01, 2010, 09:30:50 AM
Code: [Select]
Error code -1. td::string is not a typename.
(Hint: it's std::string)
Title: Re: Compiling on Linux... Possible?
Post by: freezway on January 01, 2010, 02:06:04 PM
i dont know that much c++... but im guessing that it means there is a typo in the parser? im using linux.
Title: Re: Compiling on Linux... Possible?
Post by: IsmAvatar on January 01, 2010, 02:07:19 PM
freezway: Enigma's "interesting error" means that it wasn't able to find a certain file of defined function names and such. Josh is hoping that the major changes in R4 will provide a more dynamic way of handling things like that.
Title: Re: Compiling on Linux... Possible?
Post by: freezway on January 01, 2010, 02:09:52 PM
oh. ok.