ENIGMA Forums
Outsourcing saves money => Issues Help Desk => Topic started by: justyellowboy on August 12, 2010, 09:34:39 am
-
GEE I SURE HOPE THIS IS AN EASY QUESTION.
Mah Linux Ubuntu has got gcc and I've got LateralGM. I make a room with blank objects, nothing big at all, but when I click Run or Build, it returns an error that it can't find ENIGMA. CompileEGMf.exe is in the same folder as LateralGM-8-8.jar and it works just fine with the Java run-time, just can't find this.
-
Open a terminal, cd to the CompilerSource directory, and run make linux.
Also, for the record, I'm working on an Ubuntu package, so, you should probably just wait until I finish that.
-
justyellowboy:
It sounds like you've downloaded R3. I thought you said you managed to get the whole project working? R3 had major problems with... well, Linux, yes, but pretty much everything.
I'd recommend you apt-get subversion and svn co https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev/trunk enigma.
It should create a new folder called ENIGMA for you that has what you need to compile in, but it does have some dependencies. Indeed, Retro is working on a package; perhaps you should wait for it to be finished.
-
Um, yes, this is embarrassing, but the compiler, unfortunately, was not tested. Stupid stupid me.
Perhaps I should wait for the package. Thanks, RetroX, for working on that, by the way. I think I'll use that.
-
To update, I decided to go the svn-make way of doing this, and now I can find ENIGMA. Woohoo!
I return error 512, failure at the C++ level, but I'm sure that you guys have addressed this, already. I did install MingW through the packages, and I have gcc and g++ installed, as well. I have OpenGL installed, etcetera. You say that there's an xlib platform that you guys work with. Using Ubuntu, which package is involved with these, exactly? Maybe that's what I'm missing, seeing as that I'm using GNOME.
-
justyellowboy:
These are the Ubuntu package names:
libgl1-mesa-dev libx11-dev libz-dev gcc g++ make sun-java6-jre libopenal-dev
-
YAY IT WORKS WOO, JUST NEEDED SOME PACKAGES (http://imgur.com/Kg2ny)
I have window borders turned off because I felt that they didn't need to exist, so the program is behaving normal, it's just my cooky-ass configuration, but it won't show up in that Windows 7-like DockbarX thing that I've got to the left.
Still, this is awesome asdfjoijgoia thank you guys so much, I'll play around with it a little bit and maybe in the future when I get C++ down (some guy told me once that I could nail C in seven days, so I took up the challenge and finished Kernighan's book in about nine or so) I'll join in on you cool dudes!
NINJA EDIT: Also, libz-dev is actually zlib1g-dev or something like that, maybe we should add this to the installation instructions or something. I'm pretty good at web development crap, I dunno, maybe I could put up an installation instructions page on some other site and you guys could link to it, because installation has the prerequisites and whatnot and maybe I can handle telling people about it (but of course I'd probably need to actually get to know the project amirite)
MARGINALLY LESS NINJA EDIT: So, basically, the installation prerequisites are that
1) The svn must be downloaded.
2) Change directories to the enigma folder located in my Home folder.
3) Run make, and
FOAR) install the dependencies and
Presto, the whole thing runs like this version intended. That's not hard, building software in Linux is easy! First time ever, and it's cake! Woo!
-
justyellowboy:
Great to hear it works. Retro's package is supposed to handle installing those packages for you, which is why I believe it's so important. I'll be making a news post about how people can pitch in, as soon as Ism holds up her end in saving ENIGMA's newest resource. That should hopefully be next Thursday, as she gets back from vacation Wednesday. There is a setting called "Definitions" under ENIGMA's settings, you see, that allows users to create C++ functions to use in their games. It is with that I hope that others can create and test GM functions for use in ENIGMA.
-
sun-java6-jre
Or OpenJDK. I used to discourage it because it was quite buggy, but I've noticed that more recent versions run LGM fantastically, and I might even start encouraging it because it dodges the infamous DragNDrop-Xorg-Freeze problem.
-
Or OpenJDK. I used to discourage it because it was quite buggy, but I've noticed that more recent versions run LGM fantastically, and I might even start encouraging it because it dodges the infamous DragNDrop-Xorg-Freeze problem.
Is it as simple as replacing a package (or more) for another?
Ninja edit again: Turns out that OpenJDK was what I was using. Woohoo! Works great! Yay GPL!
-
Most linux distros already have OpenJDK installed, so you can usually just omit the java package from the additional dependencies list.
As for how it decides between javas, I think it just goes with whichever one was installed latest. If you're not sure, you can just use java --version (or is it java -version)
-
java-runtime is the universal Java dependency. If Sun Java or OpenJDK are not installed, it will ask you to pick (or it will install whichever one that it finds first, which can be either depending on the name of the package). That's what I'm using right now.