Page 1 of 1

Problem on open source SuperTuxKart

PostPosted: 24 Jun 2020, 17:56
by peiyi456
I have an assignment to write a report about an open-source 3D game and I choose SuperTuxKart. However, I have a problem when want to compile it.
The instructions make me faint and confused (because I am a bit poor in English)@@
So, can somebody help me to solve this problem?

It's quite urgent. Thank you.

Re: Problem on open source SuperTuxKart

PostPosted: 24 Jun 2020, 18:55
by QwertyChouskie
What OS are you on? (Windows/macOS/Linux)

Re: Problem on open source SuperTuxKart

PostPosted: 24 Jun 2020, 20:40
by forum

Re: Problem on open source SuperTuxKart

PostPosted: 25 Jun 2020, 06:13
by peiyi456
QwertyChouskie {l Wrote}:What OS are you on? (Windows/macOS/Linux)

Windows

Re: Problem on open source SuperTuxKart

PostPosted: 25 Jun 2020, 06:14
by peiyi456
forum {l Wrote}:Does this maybe help?
https://luffah.xyz/wiki/supertuxkart/stk_compile


I will take a look. Thank you very much! :)

Re: Problem on open source SuperTuxKart

PostPosted: 25 Jun 2020, 07:59
by GunChleoc
For Windows, you can get the dependencies here: https://github.com/supertuxkart/dependencies

Instructions for Windows: https://github.com/supertuxkart/stk-cod ... on-windows

Another option for Windows might be to use a virtual Linux system - I haven't tried that for STK though. Download: https://www.msys2.org/. That's Arch Linux-based, so the command for installing dependencies is
{l Code}: {l Select All Code}
sudo yum install <package_name>

List of available packages for MSys2: https://packages.msys2.org/

If you should run into trouble, describe exactly at which step you got stuck, which command you tried, and provide any error messages you got ;)

Re: Problem on open source SuperTuxKart

PostPosted: 25 Jun 2020, 10:06
by forum
It seems that the initial request is urgent - for a report. I wonder whether compiling STK is needed at all for that report. A compiled Windows version is already available on SF.

If compiling is necessary, does it have to happen on Windows (for that urgent report)? If not, personally I recommend compiling/building on Linux, since I think that for Linux, there are also enough information resources available in other languages than English. Besides, compiling/building is - in my humble opinion - not really the main domain of Windows. ;)

A virtual Linux environment on a Windows machine can easily be snapshot, so it is no big problem to revert back to a clean install if something got messed up.

E.g., there is VirtualBox for free. Run Debian or Ubuntu as virtual machine on it (my personal favorites for such purposes). You would need no GUI, but could login via ssh and do the compilation etc. there, then move the made binary to your Window host machine for whatever you then want to do with it.

Besides, I am curious, what this report is about. :)

Good luck!

Re: Problem on open source SuperTuxKart

PostPosted: 29 Jun 2020, 17:01
by QwertyChouskie
Agreed. I don't think any main developers really compile on Windows directly anymore (instead cross-compiling the Windows binaries from Linux), so I wouldn't be surprised if there's uncaught bugs.