Page 1 of 1

Supertux Editor Installation Help

PostPosted: 19 Feb 2015, 03:38
by dexnim
Hello, I just finished playing through all of the add-ons, old levels, etc. in the newest version of supertux, and I decided I'd get back into the level editor, since it had been a while. However, I quickly discovered that installing the editor had grown much more complex on Linux than it has been before. The instructions tell me to compile the editor from github, but when I do that, I get an error saying the repository doesn't exist. Over the past week, I've looked for a way to compile, install, download, run, etc. the newest version of the editor, but nothing seems to work. I have good internet, so download isn't the problem, I have a 4-core processor, 16 gigs of ram, a 256 gig hard drive, and a high-end graphics card, so hardware isn't the problem either, so I have no idea what's going on. I'm using Ubuntu 14.04 on a 64-bit computer. If anyone can help, that would be great.

Re: Supertux Editor Installation Help

PostPosted: 24 Feb 2015, 23:02
by Tobbi
Hello!

Can you please clone the editor like this? git clone https://code.google.com/p/supertux.editor/ After that's done, open up a Terminal, cd into that directory and type make.

That should get you started and possibly give you a few error messages. We can then continue there.

--Tobbi

Re: Supertux Editor Installation Help

PostPosted: 24 Feb 2015, 23:42
by dexnim
The clone was successful.

So I typed make, and it returned this:
MonoCSharp Lisp.dll
error CS1569: Error generating XML documentation file `Lisp.dll.xml' (`Access to the path "/home/USERNAME/supertux.editor/Lisp.dll.xml" is denied.')
Compilation failed: 1 error(s), 0 warnings
make: *** [Lisp.dll] Error 1

Then I typed sudo make, and it returned this:
MonoCSharp Lisp.dll
MonoCSharp Resources.dll
MonoCSharp gtkgl-sharp.dll
MonoCSharp libeditor.dll
MonoCSharp LispReader.dll
MonoCSharp supertux-editor.exe

Now I'm not sure what to do. Thank you very much for helping me this far. I look forward to getting this figured out. :)

Re: Supertux Editor Installation Help

PostPosted: 24 Feb 2015, 23:50
by Tobbi
Now try mono ./supertux-editor.exe

Re: Supertux Editor Installation Help

PostPosted: 25 Feb 2015, 01:27
by dexnim
It worked. Wow! I thought my mono runtime was broken! :lol: Awesome, thanks! It did give me two errors when I ran it, even though the editor opened. Here's the whole output, just in case:

INFO: Using configfile: /home/USERNAME/.config/supertux-editor/settings.xml
Error: Couldn't load configfile: Could not find a part of the path "/home/USERNAME/.config/supertux-editor/settings.xml".
ERROR: Couldn't load configfile: Could not find a part of the path "/home/USERNAME/.config/supertux-editor/settings.xml".
INFO: Creating new config from scratch
INFO: Supertux is run as: supertux2
[INFO] /build/buildd/supertux-0.3.4/src/supertux/main.cpp:223 [/home/USERNAME/.supertux2] is in the search path
[INFO] /build/buildd/supertux-0.3.4/src/supertux/main.cpp:223 [/usr//share/games/supertux2] is in the search path
INFO: Data files are in: /usr//share/games/supertux2

I think I recognize this error, but it's been so long since I've used the editor that I can't remember. Thank you very very much for helping. I really appreciate it. :)

Re: Supertux Editor Installation Help

PostPosted: 25 Feb 2015, 14:08
by Tobbi
You can just ignore these errors. It's normal that there's no config file on the first run of the editor. It was created afterwards. It looks good the way it does.

Looking forward to the levels you're about the create :-)

--Tobbi

Re: Supertux Editor Installation Help

PostPosted: 10 Mar 2015, 11:46
by MetNL
Hi there. When i type sudo make i get this error:

sudo make
MonoCSharp gtkgl-sharp.dll
Package gtk-sharp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp-2.0' found
error CS8027: Error running pkg-config. Check the above output.
Makefile:70: recepy for goal 'gtkgl-sharp.dll' has failled
make: *** [gtkgl-sharp.dll] Error 1

And supertux-editor.exe doesn't download in the folder.

Re: Supertux Editor Installation Help

PostPosted: 12 Mar 2015, 12:01
by Tobbi
Try sudo apt-get install gtk-sharp2 from the command line, and see if it works then.

Re: Supertux Editor Installation Help

PostPosted: 23 Mar 2015, 15:36
by MetNL
Wow, it worked. Thnx man!

Re: Supertux Editor Installation Help

PostPosted: 23 Mar 2015, 18:24
by Tobbi
You're welcome! Looking forward to your levels. Please post them here or open a pull request here https://github.com/supertux/supertux/pulls