sábado, 27 de agosto de 2016

UltraStar Deluxe in Ubuntu 16.04 LTS

Original USB mics without problem
https://sourceforge.net/p/ultrastardx/wiki/Setup%20Singstar%20Microphones%20(Linux)/

(I understand 80% as 80% of "bar", there is no number)
Download UltraStar Deluxe v1.3.2-beta SourceCode.zip (88.2 MB)


After that, with "./configure"
configure: error: no Free Pascal Compiler found  

So looking here
https://sourceforge.net/p/ultrastardx/wiki/Compiling%20UltraStar%20Deluxe%20on%20GNU-Linux/

sudo apt-get install fpc
After that

configure: error:
Package sdl2 was not found in the pkg-config search path.


Just googling
sudo apt-get install libsdl2-dev


New error
configure: error:
Package SDL2_image was not found in the pkg-config search path.


sudo apt-get install libsdl2-image-dev

configure: error:
Package sqlite3 was not found in the pkg-config search path.

But I do have sqlite3 installed

sqlite3 ya está en su versión más reciente (3.11.0-1ubuntu1).

Full message
Perhaps you should add the directory containing `sqlite3.pc'
to the PKG_CONFIG_PATH environment variable


But with some googling I installed
sudo apt-get install libsqlite3-dev

Next error
configure: error:
Package lua was not found in the pkg-config search path



Next install
sudo apt-get install liblua5.3-dev

Next error
configure: error:
Package libavformat was not found in the pkg-config search path.

Next install
sudo apt-get install libavformat-dev

Next error:
configure: error:
Package portaudio-2.0 was not found in the pkg-config search path.
Next install
sudo apt-get install portaudio19-dev

But that uninstall some packages
jaaa libasound2-plugins:i386 libjack-jackd2-0 libjack-jackd2-0:i386 sonic-visualiser
and it shows some dependencies


After that, with make

src/media/UMediaCore_FFmpeg.pas(44,3) Fatal: Can't find unit swscale used by UMediaCore_FFmpeg
Fatal: Compilation aborted


After more googling

sudo apt-get install libswscale-dev

Problem desapears with a new ./configure (not retrying make directly)

New error, almost at the end

Linking ../game/ultrastardx
/usr/bin/ld.bfd: aviso: ../game/link.res contiene secciones de salida. ¿Olvidó -T?
/usr/bin/ld.bfd: no se puede encontrar -lSDL2_gfx
/usr/bin/ld.bfd: no se puede encontrar -lSDL2_mixer
/usr/bin/ld.bfd: no se puede encontrar -lSDL2_net
/usr/bin/ld.bfd: no se puede encontrar -lSDL2_ttf
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping


New install
sudo apt-get install libsdl2-gfx-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev

And ... it works

Path for songs

sudo mkdir /usr/local/share/ultrastardx/songs
sudo chmod 777 /usr/local/share/ultrastardx/songs


1 comentario: