Forums » StepMania Releases » Installing SM5 on Linux

Hi all,

I'm trying to compile SM5 on Raspberry Pi2, using the latest raspbian (jessie). I managed to install all dependencies so cmake .. && cmake .. ran without any errors. Now during running the make command I get the following error:

Scanning dependencies of target StepMania

[ 44%] Building CXX object src/CMakeFiles/StepMania.dir/GameLoop.cpp.o
c++: error: unrecognized command line option ‘-msse2’
src/CMakeFiles/StepMania.dir/build.make:54: recipe for target 'src/CMakeFiles/StepMania.dir/GameLoop.cpp.o' failed
make[2]: *** [src/CMakeFiles/StepMania.dir/GameLoop.cpp.o] Error 1
CMakeFiles/Makefile2:388: recipe for target 'src/CMakeFiles/StepMania.dir/all' failed
make[1]: *** [src/CMakeFiles/StepMania.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2


Any ideas what I may have missed?

many thanks
Reply
Raspberry Pi2 is not currently supported. Read this issue and the thread it links for more info.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
So it turns out I had some missing dependecies, which I just now installed. After running cmake -G 'Unix Makefiles' -DWITH_FFMPEG_JOBS=4 -DCMAKE_BUILD_TYPE=Release .. && cmake .. again, it comes up with:

-- Could NOT find nasm (missing: NASM_EXECUTABLE)
-- Found yasm: /usr/local/bin/yasm
-- checking for module 'jack'
-- package 'jack' not found
-- Could NOT find JACK (missing: JACK_INCLUDE_DIRS JACK_LIBRARIES)
-- -- At least one sound library was found. Do not worry if any were not found at this stage.
-- Could NOT find VA (missing: VA_LIBRARY VA_INCLUDE_DIR)
Host processor is x86_64
Host processor is 64bit
-- Configuring done
-- Generating done
-- Build files have been written to: /home/desktop/Desktop/stepmania/Build
-- Could NOT find nasm (missing: NASM_EXECUTABLE)
-- checking for module 'jack'
-- package 'jack' not found
-- Could NOT find JACK (missing: JACK_INCLUDE_DIRS JACK_LIBRARIES)
-- -- At least one sound library was found. Do not worry if any were not found at this stage.
-- Could NOT find VA (missing: VA_LIBRARY VA_INCLUDE_DIR)
Host processor is x86_64
Host processor is 64bit
-- Configuring done
-- Generating done
-- Build files have been written to: /home/desktop/Desktop/stepmania/Build


What more would I need to do at this point, and how would I launch Stepmania?
Reply
Nevermind on both issues, I successfully got it up and running.. kind of.

I switched into fullscreen mode and now I can't get out. All keyboard functions don't work, and my mouse appears over the game. I have tried rebuilding from scartch, but to no avail.

Any tips?

Last edited: 20 February 2016 9:46pm

Reply
Hold Alt and press Enter to toggle full screen mode. After the mode switch finishes, hit each one by itself so that stepmania sees the keys release.
Personally, I never use fullscreen mode. I just use a window sized to fill the screen.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
I have tried this but it doesn't work, and I can't go into options or close out either. The only way to get out of stepmania would be to restart my computer.

Personally, I wouldn't mind rebuilding again, but seeing how it didn't help.. I don't know. Would it have anything to do with the game and user preferences?

Last edited: 21 February 2016 8:21am

Reply
Edit ~/.stepmania-5.0/Save/Preferences.ini and set Windowed to 0. That file stores all your preferences, which is why rebuilding didn't do anything.
You shouldn't need to restart your computer to kill stepmania. If stepmania hasn't grabbed the input, (which is what it sounds like), it should be possible to use a terminal to kill stepmania (blindfolded), or switch to a virtual terminal, or even ssh in from another machine and kill it.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
Had to import a Save folder since I didn't have one. I changed Windowed to 1 (instead of 0) and it worked like a charm.

Thanks for the help, it's greatly appreciated!
Reply