|
Mono-related question... Displaying 1-20 of 27 total.
12
next
Robomagus
|
Having read that Verge can be compiled on GNU/Linux operating systems, I have to ask one important thing: Are there any complications running the .NET-reliant app(s) with Mono, or does it run just as well? If anyone has any experience (by which I mean 'has had problems') with this, it would help me A LOT to know (as I just learned the fixes to the problems I had back on Ubuntu, which has become my fave OS/distribution).
FAILING THAT, I can always stay on my XP install (being that Vista and my modem don't eye to eye on whether or not I should be allowed on the internet... lol).
Thanks ^_^
Posted on 2008-09-28 17:22:53
|
resident
|
VERGE itself will run. I don't think MapEd will.
Posted on 2008-09-29 11:36:20
|
Robomagus
|
Thanks, that saved me the trouble of finding out myself, big time.
Posted on 2008-09-29 12:02:51
|
Overkill
|
Actually I think Maped uses Mono now. I have yet to try this out though.
Anyway, if you wanna compile Verge on Ubuntu, just get all the build essentials (gcc, g++, make, etc.) and the SDL development package (which comes with sdl-config) using apt-get. Other than that, just type "make" in the "trunk/linux/" folder of the SVN to compile. Then use "./verge3" to run verge.
Posted on 2008-09-30 00:45:44
|
resident
|
How exactly do you get the source from the SVN, though?
I need to try this myself :D
Posted on 2008-09-30 15:23:48 (last edited on 2008-09-30 15:24:12)
|
Robomagus
|
I was going to ask that, but you beat me to it. LOL
Yeah, I kinda need to know where to get this source...
Posted on 2008-09-30 17:46:26
|
resident
|
The "where" is:
http://www.verge-rpg.com/svn/verge3/
Username: anonymous
Password: anonymous
My question is "how". I have a feeling that individually downloading everything by http probably isn't how this is supposed to work :)
Posted on 2008-09-30 18:39:31
|
Overkill
|
On Linux, use apt-get (or whatever your package manager is -- I'm running under Ubuntu) to install svn. Then when you've used "cd" (possibly also "mkdir") to get to a folder you want to checkout the SVN, you type "svn checkout http://www.verge-rpg.com/svn/verge3/" and it'll prompt you for a username and password (you may need to hit enter once to clear the username field which I think it autofills with your Linux profile username).
I haven't found anything like TortoiseSVN for Linux, which is kind of a downer, since it'd be really convenient to have the ability to do SVN commands on the Desktop instead of through the terminal.
Yeah, this is sort of why I think Linux is still a pain in the butt. Everything is basically terminal work. That said, you only need to checkout once probably, so it's not a big fuss.
On Windows, you can install TortoiseSVN to checkout the repository and need Visual Studio 2005 Express or better + Windows SDK + DirectX SDK to compile. Then right click and go to "SVN Checkout" when in a folder you want to checkout to. The login stuff is pretty straightforward, and then it'll download everything from the server onto your drive.
Posted on 2008-09-30 22:18:49 (last edited on 2008-09-30 22:32:52)
|
resident
|
I'm basically on Linux because I'm skint & my PC is broken. Trying to make the best of it, and a working VERGE will aid me considerably in that goal.
Just upgraded to an install of the lightly customised ubuntu distro EEEbuntu running off an 120GB USB HD, so your instructions _should_ work perfectly.
Posted on 2008-10-01 01:49:21 (last edited on 2008-10-01 01:55:06)
|
Robomagus
|
As for me, I'm on Linux because I love it, and if I can get VERGE running on it, all the better. ^_^
I was kind of afraid I was restricted to things like Sphere (not that that is entirely horrible), OHRRPGCE (THAT is, though, imho), and the like... well, I'm going to give this a try now. Thanks!
Posted on 2008-10-01 05:20:59
|
mcgrue
|
Resident/Green Dreams, how is everything going with the "get a linux version built" thing?
It should prove to be amazingly similar to the mac version, but for the network library. I'd suggest stubbing that out to get a beta out the door.
Posted on 2008-10-02 06:39:29
|
Robomagus
|
Well, as for me, some family issues have been keeping me busy, but I'll get to that as soon as everything finally balances out.
Actually, this would be the first thing I've ever compiled, so the process is a bit of a mystery to me right now... lol (I installed Subversion, because I think that was important... I'm such a newb to this... lol)
Posted on 2008-10-02 08:52:09
|
resident
|
Didn't have an internet connection for a few days there...
I got fairly far into the build process, but it failed with a lot of PNG related errors that I _think_ are Zlib related, so I assume that's another lib I'll have to reinstall before I try another build.
> make
g++ -O -Wall -D__LINUX__ -I../zlib/ -I../corona/ -I../corona/jpeg-6b -I../corona/libungif-4.1.0/ -I../corona/libpng-1.2.1/ -I../boost-1.34.0/ -I../sdl/include/ -I../fmod/ -I../lua/lua-5.1.2/ -I../lua/luabind/ -c -o ../verge/Source/a_common.o ../verge/Source/a_common.cpp
In file included from ../verge/Source/xerxes.h:153,
from ../verge/Source/a_common.cpp:17:
../verge/Source/a_vfile.h:75:56: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:155,
from ../verge/Source/a_common.cpp:17:
../verge/Source/a_dict.h:29:7: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:168,
from ../verge/Source/a_common.cpp:17:
../verge/Source/vid_macbase.h:73:7: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:169,
from ../verge/Source/a_common.cpp:17:
../verge/Source/mac_joystick.h:33:7: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:172,
from ../verge/Source/a_common.cpp:17:
../verge/Source/mac_mouse.h:23:7: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:174,
from ../verge/Source/a_common.cpp:17:
../verge/Source/mac_timer.h:30:7: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:175,
from ../verge/Source/a_common.cpp:17:
../verge/Source/mac_movie.h:30:57: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:204,
from ../verge/Source/a_common.cpp:17:
../verge/Source/g_script.h:307:7: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:212,
from ../verge/Source/a_common.cpp:17:
../verge/Source/g_engine.h:35:26: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:214,
from ../verge/Source/a_common.cpp:17:
../verge/Source/g_sound.h:76:7: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:216,
from ../verge/Source/a_common.cpp:17:
../verge/Source/vc_core.h:379:45: warning: no newline at end of file
In file included from ../verge/Source/xerxes.h:216,
from ../verge/Source/a_common.cpp:17:
../verge/Source/vc_core.h: In static member function ‘static void VCPlugins::executeVariable(int, VCPlugins::VariableContext&, int)’:
../verge/Source/vc_core.h:181: warning: deprecated conversion from string constant to ‘char*’
../verge/Source/vc_core.h: In static member function ‘static void VCPlugins::registerFunction(char*, char*, char*, void (*)(VCPlugins::FunctionContext&))’:
../verge/Source/vc_core.h:190: warning: deprecated conversion from string constant to ‘char*’
../verge/Source/vc_core.h: In static member function ‘static void VCPlugins::registerVariable(char*, char*, int, void (*)(VCPlugins::VariableContext&), void (*)(VCPlugins::VariableContext&))’:
../verge/Source/vc_core.h:207: warning: deprecated conversion from string constant to ‘char*’
../verge/Source/a_common.cpp: In function ‘byte* ImageTo24bpp(image*)’:
../verge/Source/a_common.cpp:34: warning: unused variable ‘src’
../verge/Source/a_common.cpp: In function ‘int strcasecmp(const char*, const char*)’:
../verge/Source/a_common.cpp:99: error: declaration of ‘int strcasecmp(const char*, const char*)’ throws different exceptions
../verge/Source/a_common.h:21: error: from previous declaration ‘int strcasecmp(const char*, const char*) throw ()’
make: *** [../verge/Source/a_common.o] Error 1
Well, I'm stumped. This is from the second or so compile, so this may be missing important warnings. Maybe I'm building against the wrong version of zlib or something.
Posted on 2008-10-03 05:42:35 (last edited on 2008-10-03 06:10:15)
|
Overkill
|
I'll look into it.
Posted on 2008-10-04 13:00:10
|
Overkill
|
Okay, this is just weird. It's a problem with strcasecmp somehow triggering exceptions, but if I replace that with an inline call to strcmp it works (minus case sensitive compares though ;_;)
Argh.
Posted on 2008-10-13 14:10:21
|
Overkill
|
Fixed. Update your SVN by typing "svn update", and it should compile in Linux now, if you're still interested.
Posted on 2008-10-13 14:45:37
|
resident
|
You are awesome. I'll give it a bash as soon as I can and let you know how it goes.
Posted on 2008-10-14 05:00:35
|
Overkill
|
If it works, the last line of the make command shouldn't say "Error". The last warning message I think I got was something like "tmpnam is dangerous" or similar. Then after that you should be able to run Verge! :D
Posted on 2008-10-14 09:36:39
|
resident
|
That is indeed the last error I see, and a brand new verge3 file appears in the linux directory, marked as an executable. Huzzah
Of course, then I copy it into a verge game folder (demon lord adventure 1, fact fans), and attempt to run it from the console and get "bash: verge3: command not found". Bollocks.
Still, the major problem of actually compiling VERGE appears to be done and dusted, so well done to you, sir.
Posted on 2008-10-14 12:35:13
|
Overkill
|
With the bash terminal, you can't omit "./" in that command for some stupid reason. If you want a program in the current folder to be run (rather than something in... I think your /usr/bin/ folder), you need to type "./verge3" not "verge3". Also, make sure I'm spelling in proper case, it might be capital V (UNIX filesystems are picky about caps).
Also, if you don't need the on-the-fly log output, and can read v3.log instead, you might as well just double click the executable in the nautilus. (Note that popup messages don't appear on Linux, that's because I don't know GTK+ or whatever lameness to open other windows -- And SDL only allows the main game window)
Posted on 2008-10-14 23:17:26 (last edited on 2008-10-15 00:12:10)
|
Displaying 1-20 of 27 total.
12
next
|
|