Supertux Editor Installation Help

Supertux Editor Installation Help

Postby dexnim » 19 Feb 2015, 03:38

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.
dexnim
 
Posts: 23
Joined: 19 Feb 2015, 01:25

Re: Supertux Editor Installation Help

Postby Tobbi » 24 Feb 2015, 23:02

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
SuperTux developer.
User avatar
Tobbi
SuperTux Moderator
 
Posts: 353
Joined: 12 Oct 2013, 13:08

Re: Supertux Editor Installation Help

Postby dexnim » 24 Feb 2015, 23:42

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. :)
dexnim
 
Posts: 23
Joined: 19 Feb 2015, 01:25

Re: Supertux Editor Installation Help

Postby Tobbi » 24 Feb 2015, 23:50

Now try mono ./supertux-editor.exe
SuperTux developer.
User avatar
Tobbi
SuperTux Moderator
 
Posts: 353
Joined: 12 Oct 2013, 13:08

Re: Supertux Editor Installation Help

Postby dexnim » 25 Feb 2015, 01:27

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. :)
dexnim
 
Posts: 23
Joined: 19 Feb 2015, 01:25

Re: Supertux Editor Installation Help

Postby Tobbi » 25 Feb 2015, 14:08

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
SuperTux developer.
User avatar
Tobbi
SuperTux Moderator
 
Posts: 353
Joined: 12 Oct 2013, 13:08

Re: Supertux Editor Installation Help

Postby MetNL » 10 Mar 2015, 11:46

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.
MetNL
 
Posts: 2
Joined: 10 Mar 2015, 11:43

Re: Supertux Editor Installation Help

Postby Tobbi » 12 Mar 2015, 12:01

Try sudo apt-get install gtk-sharp2 from the command line, and see if it works then.
SuperTux developer.
User avatar
Tobbi
SuperTux Moderator
 
Posts: 353
Joined: 12 Oct 2013, 13:08

Re: Supertux Editor Installation Help

Postby MetNL » 23 Mar 2015, 15:36

Wow, it worked. Thnx man!
MetNL
 
Posts: 2
Joined: 10 Mar 2015, 11:43

Re: Supertux Editor Installation Help

Postby Tobbi » 23 Mar 2015, 18:24

You're welcome! Looking forward to your levels. Please post them here or open a pull request here https://github.com/supertux/supertux/pulls
SuperTux developer.
User avatar
Tobbi
SuperTux Moderator
 
Posts: 353
Joined: 12 Oct 2013, 13:08

Who is online

Users browsing this forum: No registered users and 1 guest

cron