Forums » StepMania Releases » Installing SM5 on Linux

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Similar to Lemoncake's earlier post...
Spoiler (click to view)
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?



I just got a Pi 3 today to create a dedicated yet portable Stepmania little system, but having the same sort of trouble right here:
Spoiler (click to view)cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release .. && cmake ..
-- 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 armv7l
Unrecognized host processor type
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/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 armv7l
Unrecognized host processor type
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/stepmania/Build



I haven't used cmake that much in the past as well as didn't find too much online regarding these issues. Can anyone help me get past this particular issue?

Thanks!

Last edited: 1 May 2016 3:53pm

Reply
Similar to Lemoncake's earlier post...
Spoiler (click to view)
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?



I just got a Pi 3 today to create a dedicated yet portable Stepmania little system, but having the same sort of trouble right here:
Spoiler (click to view)cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release .. && cmake ..
-- 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 armv7l
Unrecognized host processor type
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/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 armv7l
Unrecognized host processor type
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/stepmania/Build



I haven't used cmake that much in the past as well as didn't find too much online regarding these issues. Can anyone help me get past this particular issue?

Thanks!


MDragon, I've actually followed the instructions from the first post here with success on my pi3 a couple weeks ago, though actually running the game was not great as performance was poor. Specifically, it looks like you should be able to run

cmake -DWITH_FFMPEG=0 -DWITH_CRASH_HANDLER=0 -DWITH_SSE2=0 -DWITH_FULL_RELEASE=1 -DWITH_TEXTURE_GENERATOR=0 -DWITH_GLES2=0 && sync && make install -j6 && sync


IIRC, you'll still get

Host processor is armv7l
Unrecognized host processor type

but it should compile/run fine, so long as you've enabled the experimental OpenGL driver (in raspi-config)
Reply
Thank you so much drewbarbs! That linked post was amazing to read, helped quite a bit and gave me a better idea on how to move forward.

Unfortunately, the Pi ran into a few compiler errors still (although it at least tried to complete the build), but it's at a point where I believe I can put a few more productive hours (discounting the wait time of compiling, downloading, etc) and come up with a running Stepmania. However, as Stepmania doesn't seem to run that well on the Pi at the moment, I think I'll shelve the project for a little while.

Once again, thank you very very much! Even though it didn't end up with complete success, it makes me so much happier just to get past that one absolutely confounding (for me) issue.
Reply
I need help, I got a strange problem I don't what does that mean:
CLICK HERE
This is a link that goes to the stepmania git issue.

Last edited: 26 November 2016 8:47am

The Founder of Perkedel Corporation
Reply
Last error it was made to make sure:

these errors happens when finally making the executable

[ 98%] Building CXX object src/CMakeFiles/StepMania.dir/archutils/Unix/X11Helper.cpp.o
[ 98%] Building CXX object src/CMakeFiles/StepMania.dir/archutils/Common/PthreadHelpers.cpp.o
[ 98%] Building CXX object src/CMakeFiles/StepMania.dir/archutils/Unix/Backtrace.cpp.o
[ 98%] Building CXX object src/CMakeFiles/StepMania.dir/archutils/Unix/BacktraceNames.cpp.o
[ 98%] Building CXX object src/CMakeFiles/StepMania.dir/archutils/Unix/CrashHandler.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/archutils/Unix/CrashHandlerChild.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/archutils/Unix/CrashHandlerInternal.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/CsvFile.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/IniFile.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/MsdFile.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/XmlFile.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/XmlToLua.cpp.o
[ 99%] Building CXX object src/CMakeFiles/StepMania.dir/XmlFileUtil.cpp.o
[100%] Building CXX object src/CMakeFiles/StepMania.dir/Main.cpp.o
[100%] Linking CXX executable ../../stepmania
/usr/bin/ld: ../../extern/libmmmagic/linux-64bit/libmmmagic.a(mmmagic.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; rekompile dengan -fPIC
/usr/bin/ld: ../../extern/libmmmagic/linux-64bit/libmmmagic.a(minimaidhid.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; rekompile dengan -fPIC
/usr/bin/ld: ../../extern/libmmmagic/linux-64bit/libmmmagic.a(update.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; rekompile dengan -fPIC
/usr/bin/ld: final link gagal: Bagian tidak dapat direpresentasikan di keluaran
collect2: error: ld returned 1 exit status
src/CMakeFiles/StepMania.dir/build.make:10904: recipe for target '../stepmania' failed
make[2]: *** [../stepmania] Error 1
CMakeFiles/Makefile2:423: recipe for target 'src/CMakeFiles/StepMania.dir/all' failed
make[1]: *** [src/CMakeFiles/StepMania.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2


help!

Update: even some workarounds on CmakeList.txt and CmakeCache.txt, the problem still presist!

Last edited: 20 December 2016 10:17pm

The Founder of Perkedel Corporation
Reply