ultrastares / ultrastar-worldparty

UltraStar WorldParty. A karaoke game inspired by SingStar™
https://ultrastar-es.org
GNU General Public License v3.0
135 stars 35 forks source link

Fail to compile in Raspberry Pi #56

Closed GRobled0 closed 3 years ago

GRobled0 commented 3 years ago

First of all congratulations for the hard work! I had tried Ultrastar Worldparty in other platforms and it is excellent.

I was trying to install it in a Raspberry Pi 4 but it keeps failing to compile. From the message it looks that the issue has to do with not finding the right libraries, although the log seem to suggest they were correctly identified in the first place because it states checking for libavcodec... yes (-L/usr/local/lib) and at the end Fatal: Can't find unit avcodec used by UVideo.

Info
Distribution ID Raspbian
Description Raspbian GNU/Linux 10 (buster)
Release 10
Model Raspberry Pi 4 4GB

This is the output I get when running sudo ./install after following the guide in the wiki: https://github.com/ultrastares/ultrastar-worldparty/wiki/Install-WorldParty-on-Linux .

Obj:1 http://archive.raspberrypi.org/debian buster InRelease
Obj:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Leyendo lista de paquetes...
Leyendo lista de paquetes...
Creando árbol de dependencias...
Leyendo la información de estado...
autoconf ya está en su versión más reciente (2.69-11).
automake ya está en su versión más reciente (1:1.16.1-4).
fpc ya está en su versión más reciente (3.0.4+dfsg-22+rpi1).
gcc ya está en su versión más reciente (4:8.3.0-1+rpi2).
libfreetype6-dev ya está en su versión más reciente (2.9.1-3+deb10u2).
liblua5.3-dev ya está en su versión más reciente (5.3.3-1.1).
libopencv-highgui-dev ya está en su versión más reciente (3.2.0+dfsg-6).
libportmidi-dev ya está en su versión más reciente (1:217-6).
libsdl2-image-dev ya está en su versión más reciente (2.0.4+dfsg1-1+deb10u1).
libsqlite3-dev ya está en su versión más reciente (3.27.2-3+deb10u1).
make ya está en su versión más reciente (4.2.1-1.2).
libavformat-dev ya está en su versión más reciente (7:4.1.6-1~deb10u1+rpt1).
libswscale-dev ya está en su versión más reciente (7:4.1.6-1~deb10u1+rpt1).
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 22 no actualizados.
Updating build configuration files for UltraStar WorldParty, please wait...
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for fpc... fpc
checking for fpcmake... fpcmake
checking version of fpc... [3.0.4]
checking whether the Free Pascal Compiler works... yes
checking whether the Free Pascal Compiler can link... yes
checking whether FPC supports -k"-z noexecstack"... yes
checking whether FPC supports -k"--copy-dt-needed-entries"... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for sdl2... yes
checking for SDL2_image... yes
checking for freetype2... yes
checking for sqlite3... yes
checking for lua5.3... yes
checking version of lua... [5.3.3]
checking size of lua_Integer... 64 bits
checking for libavcodec... yes (-L/usr/local/lib)
checking version of libavcodec... [57.89.100]
checking for avcodec_decode_audio in -lavcodec... no
checking for avcodec_decode_audio2 in -lavcodec... no
checking for img_convert in -lavcodec... no
checking for libavformat... yes (-L/usr/local/lib)
checking version of libavformat... [57.71.100]
checking for libavutil... yes (-L/usr/local/lib)
checking version of libavutil... [55.58.100]
checking for libswscale... yes (-L/usr/local/lib)
checking version of libswscale... [4.6.100]
checking for libswresample... yes (-L/usr/local/lib)
checking version of libswresample... [2.7.100]
checking version of ffmpeg... [3.2]
checking for libprojectM >= 0.98... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config-linux.inc
configure:

!!!
!!! Configuration of WorldParty 21.02 done!
!!!
!!! Type "make" to compile and
!!!      "make install" to install it afterwards.
!!!
!!! For further information on WorldParty visit:
!!!   https://ultrastar-es.org/
!!!
!!! In case you find a bug send a bugreport to:
!!!   https://github.com/ultrastares/ultrastar-worldparty/
!!!

make -C ./src all
make[1]: se entra en el directorio '/home/pi/ultrastar-worldparty-21.02/src'
===================================
Changed files:
WorldParty.dpr paths.inc encoding/Auto.inc encoding/Locale.inc encoding/UTF8.inc encoding/CP1250.inc encoding/CP1252.inc webSDK/UWebSDK.pas webSDK/dcpcrypt2-2009/DCPreg.pas webSDK/dcpcrypt2-2009/DCPblockciphers.pas webSDK/dcpcrypt2-2009/Ciphers/DCPrc4.pas webSDK/dcpcrypt2-2009/Ciphers/DCPmars.inc webSDK/dcpcrypt2-2009/Ciphers/DCPrc2.inc webSDK/dcpcrypt2-2009/Ciphers/DCPcast128.inc webSDK/dcpcrypt2-2009/Ciphers/DCPgost.inc webSDK/dcpcrypt2-2009/Ciphers/DCPmars.pas webSDK/dcpcrypt2-2009/Ciphers/DCPrc2.pas webSDK/dcpcrypt2-2009/Ciphers/DCPrijndael.inc webSDK/dcpcrypt2-2009/Ciphers/DCPgost.pas webSDK/dcpcrypt2-2009/Ciphers/DCPcast128.pas webSDK/dcpcrypt2-2009/Ciphers/DCPcast256.pas webSDK/dcpcrypt2-2009/Ciphers/DCPserpent.pas webSDK/dcpcrypt2-2009/Ciphers/DCPmisty1.inc webSDK/dcpcrypt2-2009/Ciphers/DCPrijndael.pas webSDK/dcpcrypt2-2009/Ciphers/DCPdes.pas webSDK/dcpcrypt2-2009/Ciphers/DCPcast256.inc webSDK/dcpcrypt2-2009/Ciphers/DCPblowfish.inc webSDK/dcpcrypt2-2009/Ciphers/DCPrc6.pas webSDK/dcpcrypt2-2009/Ciphers/DCPdes.inc webSDK/dcpcrypt2-2009/Ciphers/DCPtwofish.pas webSDK/dcpcrypt2-2009/Ciphers/DCPmisty1.pas webSDK/dcpcrypt2-2009/Ciphers/DCPrc5.pas webSDK/dcpcrypt2-2009/Ciphers/DCPtwofish.inc webSDK/dcpcrypt2-2009/Ciphers/DCPtea.pas webSDK/dcpcrypt2-2009/Ciphers/DCPidea.pas webSDK/dcpcrypt2-2009/Ciphers/DCPice.pas webSDK/dcpcrypt2-2009/Ciphers/DCPblowfish.pas webSDK/dcpcrypt2-2009/DCPbase64.pas webSDK/dcpcrypt2-2009/Hashes/DCPtiger.inc webSDK/dcpcrypt2-2009/Hashes/DCPhaval.pas webSDK/dcpcrypt2-2009/Hashes/DCPripemd128.pas webSDK/dcpcrypt2-2009/Hashes/DCPhaval4.inc webSDK/dcpcrypt2-2009/Hashes/DCPhaval3.inc webSDK/dcpcrypt2-2009/Hashes/DCPhaval5.inc webSDK/dcpcrypt2-2009/Hashes/DCPtiger.pas webSDK/dcpcrypt2-2009/Hashes/DCPmd5.pas webSDK/dcpcrypt2-2009/Hashes/DCPripemd160.pas webSDK/dcpcrypt2-2009/Hashes/DCPsha1.pas webSDK/dcpcrypt2-2009/Hashes/DCPsha512.pas webSDK/dcpcrypt2-2009/Hashes/DCPmd4.pas webSDK/dcpcrypt2-2009/Hashes/DCPsha256.pas webSDK/dcpcrypt2-2009/DCPcrypt2.pas webSDK/dcpcrypt2-2009/DCPconst.pas webSDK/encrypt/UMD5.pas webSDK/encrypt/cHash.pas webSDK/encrypt/cDefines.inc webSDK/cURL_/src/curlpas.pas webSDK/cURL_/src/lazcurl.pas webSDK/cURL_/src/curldbug.pas webSDK/cURL_/src/ocurlcb.inc webSDK/cURL_/src/ocurlthd.inc webSDK/cURL_/src/ocurlver.inc webSDK/cURL_/src/ocurlmlt.inc webSDK/cURL_/src/ocurlcll.inc webSDK/cURL_/src/ocurlget.inc webSDK/cURL_/src/ocurlprt.inc webSDK/cURL_/src/ocurlpub.inc webSDK/cURL_/src/ocurlacc.inc webSDK/cURL_/src/ocurlinf.inc webSDK/cURL_/src/ocurluse.inc webSDK/cURL_/src/curlobj.pas webSDK/cURL_/src/ocurlini.inc webSDK/cURL_/src/ocurltyp.inc webSDK/cURL_/src/curl_h.pas webSDK/cURL_/src/ocurlcb2.inc webSDK/cURL_/src/ocurlset.inc webSDK/cURL_/src/ocurlprv.inc screens/UScreenStatDetail.pas screens/UScreenAbout.pas screens/UScreenMain.pas screens/UScreenPartyTournamentRounds.pas screens/UScreenPlayerSelector.pas screens/UScreenJukeboxPlaylist.pas screens/UScreenPartyPlayer.pas screens/UScreenSongMenu.pas screens/UScreenStatMain.pas screens/UScreenOptionsLyrics.pas screens/UScreenPartyOptions.pas screens/UScreenPartyTournamentOptions.pas screens/UScreenOptionsNetwork.pas screens/UScreenOpen.pas screens/UScreenJukeboxOptions.pas screens/UScreenOptionsAdvanced.pas screens/UScreenPartyRounds.pas screens/UScreenJukebox.pas screens/UScreenOptionsProfiles.pas screens/UScreenPartyTournamentWin.pas screens/views/UScreenSingView.pas screens/UScreenPartyWin.pas screens/UScreenOptionsSound.pas screens/UScreenOptionsGraphics.pas screens/UScreenOptions.pas screens/UScreenOptionsThemes.pas screens/UScreenPartyNewRound.pas screens/UScreenOptionsMicrophones.pas screens/UScreenScore.pas screens/UScreenDevelopers.pas screens/UScreenOptionsWebcam.pas screens/UScreenSong.pas screens/UScreenPartyTournamentPlayer.pas screens/UScreenPopup.pas screens/controllers/UScreenSingController.pas screens/UScreenTop5.pas screens/UScreenLoading.pas screens/UScreenPartyScore.pas screens/UScreenOptionsGame.pas config-win.inc config-darwin.inc config-linux.inc media/UAudioCore_Bass.pas media/UAudioPlayback_SoftMixer.pas media/UAudioPlayback_Bass.pas media/UAudioPlayback_SDL.pas media/UMediaCore_FFmpeg.pas media/UVideo.pas media/UAudioConverter.pas media/UAudioInput_SDL.pas media/UAudioDecoder_FFmpeg.pas media/UVisualizer.pas media/UAudioPlaybackBase.pas media/UAudioDecoder_Bass.pas media/UMediaCore_SDL.pas media/UAudioInput_Bass.pas switches.inc base/UGraphic.pas base/USingScores.pas base/UCommandLine.pas base/URecord.pas base/UThemes.pas base/UUnicodeUtils.pas base/UCommon.pas base/URingBuffer.pas base/UNote.pas base/UPlatform.pas base/UDLLManager.pas base/UConfig.pas base/UAvatars.pas base/UCatCovers.pas base/ULyrics.pas base/UPath.pas base/TextGL.pas base/UParty.pas base/UPlatformWindows.pas base/UFont.pas base/UWebcam.pas base/UImage.pas base/UTime.pas base/UJoystick.pas base/UBeatTimer.pas base/UTextEncoding.pas base/UDraw.pas base/UDataBase.pas base/UGraphicClasses.pas base/UPartyTournament.pas base/UIni.pas base/UPlaylist.pas base/ULanguage.pas base/UPathUtils.pas base/UFilesystem.pas base/USongs.pas base/UPlatformMacOSX.pas base/UFiles.pas base/UPlatformLinux.pas base/USkins.pas base/UTexture.pas base/UMain.pas base/USong.pas base/ULog.pas base/UMusic.pas lua/ULuaTextGL.pas lua/ULuaUtils.pas lua/UHookableEvent.pas lua/ULuaParty.pas lua/ULuaTexture.pas lua/ULuaScreenSing.pas lua/ULuaUsdx.pas lua/ULuaGl.pas lua/ULuaCore.pas lua/ULuaLog.pas lib/zlib/zlib.pas lib/SQLite/SQLite3.pas lib/SQLite/SQLiteTable3.pas lib/SQLite/example/uTestSqlite.pas lib/fft/UFFT.pas lib/dglOpenGL/dglOpenGL.pas lib/Lazarus/components/lazutils/lazutf8classes.pas lib/Lazarus/components/lazutils/lazutf8.pas lib/Lazarus/components/lazutils/unixfileutil.inc lib/Lazarus/components/lazutils/fileutil.pas lib/Lazarus/components/lazutils/lazfileutils.inc lib/Lazarus/components/lazutils/winlazfileutils.inc lib/Lazarus/components/lazutils/fpcadds.pas lib/Lazarus/components/lazutils/lazutils_defines.inc lib/Lazarus/components/lazutils/unixlazutf8.inc lib/Lazarus/components/lazutils/winfileutil.inc lib/Lazarus/components/lazutils/lazutilsstrconsts.pas lib/Lazarus/components/lazutils/winlazutf8.inc lib/Lazarus/components/lazutils/fileutil.inc lib/Lazarus/components/lazutils/masks.pas lib/Lazarus/components/lazutils/unixlazfileutils.inc lib/Lazarus/components/lazutils/lazfileutils.pas lib/projectM/projectM.pas lib/projectM/projectM-0_9.inc lib/projectM/projectM-1_0.inc lib/freetype/ftglyph.inc lib/freetype/ftoutln.inc lib/freetype/demo/switches.inc lib/freetype/demo/nehe/UFreeType.pas lib/freetype/ftstroke.inc lib/freetype/ftconfig.inc lib/freetype/freetype.pas lib/freetype/fttypes.inc lib/freetype/ftimage.inc lib/bass_fx/bass_fx.pas lib/openCV/opencv_types.pas lib/openCV/opencv_imgproc.pas lib/openCV/test/Ipl.pas lib/openCV/test/OpenCV.pas lib/openCV/opencv_highgui.pas lib/openCV/opencv_core.pas lib/SDL2/sdlmessagebox.inc lib/SDL2/jedi.inc lib/SDL2/SDL2_gfx.pas lib/SDL2/sdlscancode.inc lib/SDL2/sdlsystem.inc lib/SDL2/sdlloadso.inc lib/SDL2/sdlthread.inc lib/SDL2/SDL2_net.pas lib/SDL2/sdlgamecontroller.inc lib/SDL2/sdlsyswm.inc lib/SDL2/sdlrenderer.inc lib/SDL2/sdlmouse.inc lib/SDL2/sdlhints.inc lib/SDL2/sdlpixels.inc lib/SDL2/sdlmutex.inc lib/SDL2/sdlvideo.inc lib/SDL2/sdlhaptic.inc lib/SDL2/sdlplatform.inc lib/SDL2/sdlevents.inc lib/SDL2/sdlblendmode.inc lib/SDL2/SDL2_mixer.pas lib/SDL2/sdlrwops.inc lib/SDL2/sdl2.pas lib/SDL2/sdllog.inc lib/SDL2/SDL2_ttf.pas lib/SDL2/sdlrect.inc lib/SDL2/SDL2_image.pas lib/SDL2/sdltouch.inc lib/SDL2/sdlerror.inc lib/SDL2/sdlshape.inc lib/SDL2/sdltype.inc lib/SDL2/sdlpower.inc lib/SDL2/sdlsurface.inc lib/SDL2/sdltimer.inc lib/SDL2/sdljoystick.inc lib/SDL2/sdlfilesystem.inc lib/SDL2/sdl.inc lib/SDL2/sdlaudio.inc lib/SDL2/sdlgesture.inc lib/SDL2/sdlcpuinfo.inc lib/SDL2/sdlversion.inc lib/SDL2/sdlkeyboard.inc lib/SDL2/sdlclipboard.inc lib/ffmpeg-4.0/rational.pas lib/ffmpeg-4.0/avcodec.pas lib/ffmpeg-4.0/avformat.pas lib/ffmpeg-4.0/swscale.pas lib/ffmpeg-4.0/libavutil/dict.pas lib/ffmpeg-4.0/libavutil/samplefmt.pas lib/ffmpeg-4.0/libavutil/opt.pas lib/ffmpeg-4.0/libavutil/log.pas lib/ffmpeg-4.0/libavutil/mem.pas lib/ffmpeg-4.0/libavutil/error.pas lib/ffmpeg-4.0/libavutil/buffer.pas lib/ffmpeg-4.0/libavutil/pixfmt.pas lib/ffmpeg-4.0/libavutil/frame.pas lib/ffmpeg-4.0/libavutil/cpu.pas lib/ffmpeg-4.0/libavutil/mathematics.pas lib/ffmpeg-4.0/avio.pas lib/ffmpeg-4.0/swresample.pas lib/ffmpeg-4.0/ff_api-defines.inc lib/ffmpeg-4.0/avutil.pas lib/ffmpeg-4.0/libavcodec/audioconvert.pas lib/Lua/ULua.pas lib/bass/bass.pas lib/ctypes/ctypes.pas lib/midi/CircBuf.pas lib/midi/MidiIn.pas lib/midi/MidiCons.pas lib/midi/MidiFile.pas lib/midi/MidiOut.pas lib/midi/MidiType.pas lib/midi/DelphiMcb.pas lib/midi/MidiScope.pas lib/midi/MidiDefs.pas lib/other/cpucount.pas lib/other/WinAllocation.pas menu/UMenuBackground.pas menu/UMenuButton.pas menu/UMenuButtonCollection.pas menu/UMenuInteract.pas menu/UMenuBackgroundVideo.pas menu/UDisplay.pas menu/UMenu.pas menu/UMenuSelectSlide.pas menu/UDrawTexture.pas menu/UMenuBackgroundNone.pas menu/UMenuBackgroundTexture.pas menu/UMenuText.pas menu/UMenuStatic.pas menu/UMenuBackgroundFade.pas menu/UMenuEqualizer.pas menu/UMenuBackgroundColor.pas
===================================
-----------------------------------
Clean old object data...
make clean_obj
make[2]: se entra en el directorio '/home/pi/ultrastar-worldparty-21.02/src'
rm -f "../game/WorldParty"
rm -f -r "../build/fpc-arm-linux"
make[2]: se sale del directorio '/home/pi/ultrastar-worldparty-21.02/src'
-----------------------------------
/usr/bin/mkdir -p "../build/fpc-arm-linux"
make create-pathinfo
make[2]: se entra en el directorio '/home/pi/ultrastar-worldparty-21.02/src'
echo "INSTALL_DATADIR = '/usr/local/share/WorldParty';" > paths.inc
make[2]: se sale del directorio '/home/pi/ultrastar-worldparty-21.02/src'
fpc -Si -Sg -Sc -v0Binwe -Xs -O4 -k"-z noexecstack" -k" -L/usr/local/lib" -Fi../src/lib/JEDI-SDL/SDL/Pas -Fu. -FU../build/fpc-arm-linux -o../game/WorldParty WorldParty.dpr
Free Pascal Compiler version 3.0.4+dfsg-22+rpi1 [2019/02/04] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling WorldParty.dpr
Compiling lib/SQLite/SQLiteTable3.pas
Compiling lib/SQLite/SQLite3.pas
Assembling sqlite3
/home/pi/ultrastar-worldparty-21.02/src/lib/SQLite/SQLiteTable3.pas(767,3) Note: Local variable "i" not used
/home/pi/ultrastar-worldparty-21.02/src/lib/SQLite/SQLiteTable3.pas(1064,32) Warning: use of NEW or DISPOSE for untyped pointers is meaningless
/home/pi/ultrastar-worldparty-21.02/src/lib/SQLite/SQLiteTable3.pas(1067,28) Warning: use of NEW or DISPOSE for untyped pointers is meaningless
/home/pi/ultrastar-worldparty-21.02/src/lib/SQLite/SQLiteTable3.pas(1076,27) Warning: use of NEW or DISPOSE for untyped pointers is meaningless
Assembling sqlitetable3
Compiling lib/SDL2/sdl2.pas
Assembling sdl2
Compiling lib/SDL2/SDL2_image.pas
Assembling sdl2_image
Compiling lib/dglOpenGL/dglOpenGL.pas
Assembling dglopengl
Compiling media/UMediaCore_SDL.pas
Compiling base/UMusic.pas
Compiling base/UTime.pas
Compiling base/UCommon.pas
Compiling base/UConfig.pas
Assembling uconfig
Compiling base/ULog.pas
Compiling base/UPath.pas
Compiling base/UUnicodeUtils.pas
Assembling uunicodeutils
Compiling base/UTextEncoding.pas
Compiling base/UCommon.pas
Compiling base/ULog.pas
Compiling base/URecord.pas
Compiling base/UCommon.pas
Compiling base/UFilesystem.pas
Assembling ufilesystem
Compiling base/UMain.pas
Compiling base/UAvatars.pas
Compiling base/UImage.pas
Compiling lib/zlib/zlib.pas
Assembling zlib
Assembling uimage
Compiling base/UIni.pas
Compiling base/UCommandLine.pas
Compiling base/UPlatform.pas
Compiling base/UPlatformLinux.pas
Assembling uplatformlinux
Assembling uplatform
Assembling ucommandline
Compiling base/UDataBase.pas
Compiling base/UDLLManager.pas
Compiling webSDK/UWebSDK.pas
Assembling uwebsdk
Compiling base/UFiles.pas
Compiling base/UMusic.pas
Compiling base/UBeatTimer.pas
Compiling base/UNote.pas
Compiling menu/UDisplay.pas
Compiling lua/UHookableEvent.pas
Compiling lib/Lua/ULua.pas
Assembling ulua
Compiling lua/ULuaCore.pas
Compiling lua/ULuaUsdx.pas
Compiling lua/ULuaUtils.pas
Assembling uluautils
Assembling uluausdx
Compiling base/UPathUtils.pas
Assembling upathutils
Assembling uluacore
Assembling uhookableevent
Compiling menu/UMenu.pas
Compiling base/ULanguage.pas
Assembling ulanguage
Compiling menu/UMenuBackground.pas
Compiling base/UThemes.pas
Compiling base/USkins.pas
Compiling base/UThemes.pas
Compiling base/UTexture.pas
Compiling base/UThemes.pas
Compiling base/TextGL.pas
Compiling base/UFont.pas
Compiling lib/freetype/freetype.pas
Assembling freetype
/home/pi/ultrastar-worldparty-21.02/src/base/UFont.pas(1455,4) Note: Local variable "arraylength" not used
Assembling ufont
Assembling textgl
Assembling uthemes
Assembling utexture
Assembling uskins
Assembling umenubackground
Compiling menu/UMenuButton.pas
Compiling menu/UMenuText.pas
Compiling menu/UMenuInteract.pas
Assembling umenuinteract
Compiling base/UGraphic.pas
Compiling menu/UDisplay.pas
Compiling menu/UMenu.pas
Compiling menu/UMenuButton.pas
Compiling menu/UDisplay.pas
Compiling menu/UMenu.pas
Compiling menu/UMenuButtonCollection.pas
Assembling umenubuttoncollection
Compiling menu/UMenuSelectSlide.pas
Compiling menu/UDrawTexture.pas
Assembling udrawtexture
Assembling umenuselectslide
Compiling menu/UMenuStatic.pas
Compiling menu/UDisplay.pas
Compiling menu/UMenu.pas
Compiling base/UMusic.pas
Compiling base/UWebcam.pas
Compiling lib/openCV/opencv_highgui.pas
Compiling lib/openCV/opencv_types.pas
Compiling lib/openCV/opencv_core.pas
Assembling opencv_core
Assembling opencv_types
Assembling opencv_highgui
Compiling lib/openCV/opencv_imgproc.pas
Assembling opencv_imgproc
Assembling uwebcam
Compiling base/UNote.pas
Compiling menu/UDisplay.pas
Compiling menu/UMenu.pas
Compiling menu/UDisplay.pas
Compiling base/UGraphic.pas
Compiling screens/UScreenLoading.pas
Assembling uscreenloading
Compiling screens/UScreenMain.pas
Compiling base/UFiles.pas
Compiling base/USongs.pas
Compiling lib/other/cpucount.pas
Assembling cpucount
Compiling base/UCatCovers.pas
Assembling ucatcovers
Compiling base/UPlaylist.pas
Compiling base/USong.pas
Compiling base/USongs.pas
Compiling base/UPlaylist.pas
Compiling lib/Lazarus/components/lazutils/lazutf8.pas
Compiling lib/Lazarus/components/lazutils/fpcadds.pas
Assembling fpcadds
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazutf8.pas(991,7) Warning: Local variable "SourceCopied" does not seem to be initialized
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazutf8.pas(991,7) Warning: Local variable "Source" does not seem to be initialized
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazutf8.pas(3356,15) Warning: Local variable "B1" does not seem to be initialized
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazutf8.pas(3356,20) Warning: Local variable "B2" does not seem to be initialized
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazutf8.pas(3471,3) Warning: Function result variable does not seem to initialized
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazutf8.pas(3653,3) Warning: Function result variable does not seem to initialized
Assembling lazutf8
Compiling base/USongs.pas
Compiling lib/Lazarus/components/lazutils/fileutil.pas
Compiling lib/Lazarus/components/lazutils/masks.pas
Compiling lib/Lazarus/components/lazutils/lazutilsstrconsts.pas
Writing Resource String Table file: lazutilsstrconsts.rsj
Assembling lazutilsstrconsts
Assembling masks
Compiling lib/Lazarus/components/lazutils/lazfileutils.pas
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazfileutils.inc(455,24) Warning: Symbol "faSysFile" is not portable
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazfileutils.inc(457,23) Warning: Symbol "faHidden" is not portable
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazfileutils.inc(458,25) Warning: Symbol "faVolumeId" is deprecated
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazfileutils.inc(458,25) Warning: Symbol "faVolumeId" is not portable
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazfileutils.inc(459,24) Warning: Symbol "faSymLink" is not portable
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/unixlazfileutils.inc(235,48) Warning: Local variable "CurDir" of a managed type does not seem to be initialized
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/lazfileutils.pas(1082,34) Warning: Local variable "PathStr" of a managed type does not seem to be initialized
Assembling lazfileutils
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/fileutil.inc(101,71) Warning: Symbol "faSymLink" is not portable
/home/pi/ultrastar-worldparty-21.02/src/lib/Lazarus/components/lazutils/fileutil.inc(116,62) Warning: Symbol "faSymLink" is not portable
Assembling fileutil
Compiling base/UFiles.pas
Compiling base/UNote.pas
Compiling base/ULyrics.pas
Compiling base/UGraphic.pas
Compiling screens/UScreenMain.pas
Compiling base/UGraphic.pas
Compiling screens/UScreenPlayerSelector.pas
Compiling base/UAvatars.pas
Assembling uavatars
Compiling base/UNote.pas
Compiling base/URecord.pas
Compiling base/UNote.pas
Compiling screens/controllers/UScreenSingController.pas
Compiling base/UGraphicClasses.pas
Compiling base/UGraphic.pas
Compiling screens/UScreenPlayerSelector.pas
Compiling base/UNote.pas
Compiling screens/controllers/UScreenSingController.pas
Compiling screens/views/UScreenSingView.pas
Compiling base/USingScores.pas
Compiling base/UGraphic.pas
Compiling screens/UScreenPlayerSelector.pas
Compiling base/UNote.pas
Compiling screens/controllers/UScreenSingController.pas
Compiling screens/views/UScreenSingView.pas
Compiling base/UDataBase.pas
Compiling base/UDLLManager.pas
Assembling udllmanager
Assembling udatabase
Compiling base/UDraw.pas
Compiling base/UGraphic.pas
Compiling screens/UScreenPlayerSelector.pas
Compiling base/UNote.pas
Compiling screens/controllers/UScreenSingController.pas
Compiling base/UGraphic.pas
Compiling screens/UScreenPlayerSelector.pas
Compiling base/UNote.pas
Compiling screens/UScreenJukebox.pas
Compiling media/UVideo.pas
/home/pi/ultrastar-worldparty-21.02/src/media/UVideo.pas(49,3) Fatal: Can't find unit avcodec used by UVideo
Fatal: Compilation aborted
Error: /usr/bin/ppcarm returned an error exitcode
make[1]: se sale del directorio '/home/pi/ultrastar-worldparty-21.02/src'
/usr/bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c "./game/WorldParty" "/usr/local/bin"

If I change the order in which the libraries are called inside of UVideo.pas the compilation keeps failing, but the name of the library in the error message changes to whatever ffmpeg library is called first.

I have installed the following version of ffmpeg from source.

ffmpeg version af8d5aa Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8 (Raspbian 8.3.0-6+rpi1)
configuration: --arch=armel --target-os=linux --enable-gpl --enable-nonfree
libavutil      55. 58.100 / 55. 58.100
libavcodec     57. 89.100 / 57. 89.100
libavformat    57. 71.100 / 57. 71.100
libavdevice    57.  6.100 / 57.  6.100
libavfilter     6. 82.100 /  6. 82.100
libswscale      4.  6.100 /  4.  6.100
libswresample   2.  7.100 /  2.  7.100
libpostproc    54.  5.100 / 54.  5.100

Thank you very much in advance.

TeLiXj commented 3 years ago

Hi! Do you know that exists a snap package https://snapcraft.io/ultrastar-worldparty to execute the game??? We removed the wiki page that you are referencing because the snap is the recommended way for not developer users

GRobled0 commented 3 years ago

Thanks! The snap package works perfectly. Although running it shows this output in the terminal, I don't know if this might be an issue.

Testing for explicit PulseAudio choice...
...and PulseAudio has been explicitly chosen, so using it.
An unhandled exception occurred at $000360B4:
EAccessViolation: Access violation
  $000360B4

An unhandled exception occurred at $000360B4:
EAccessViolation: Access violation
  $000360B4
  $0003340C
  $00034574

An unhandled exception occurred at $00036080:
EAccessViolation: Access violation
  $00036080
  $00034574
  $0003340C
  $00034574

An unhandled exception occurred at $000360B4:
EAccessViolation: 
  $000360B4
  $0003340C
  $00034574
  $00034574
  $0003340C
  $00034574
TeLiXj commented 3 years ago

Don't worry about it, the program output a lot of messages ;)

frankiejol commented 3 years ago

I am trying to build it for Ubuntu 18.04 ( x86 ), there is no snap package available. I get the very same error from latest git: Fatal: Can't find unit avcodec used by UVideo

TeLiXj commented 3 years ago

I am trying to build it for Ubuntu 18.04 ( x86 ), there is no snap package available. I get the very same error from latest git: Fatal: Can't find unit avcodec used by UVideo

I don't know if is now possible to compile it in x86 but when I tried no because ffmpeg packages (and maybe other packages). Because this the snap is based in core20 (Ubuntu 20.04) and only for ARM or AMD64