Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
#49
Can you try pass these args to cmake ? -DBINARY_RELEASE=ON and -DDEBUG=OFF ?

like this cmake -DBINARY_RELEASE=ON -DDEBUG=OFF

(01-05-2020, 06:14 AM)brzegorz Wrote: Hi, I'll link my Baldur's Gate topic as this is the most comprehensive games list I've found. There are some flags to tick in the engine compilation, but it works well and supports mods(or at least the widescreen one).

Maybe we should initiate a wiki section with compilation instructions and explanation of how well the game works? Currently the info is scattered across forums, and I think it's quite valuable.

P.S. Link: https://forum.pine64.org/showthread.php?tid=8702

Baldur's Gate and Icewind Dale games play natively via the gemrb - no need for any dark magic hackery Smile

(01-25-2020, 03:19 PM)branon Wrote: Having trouble compiling DevilutionX on Manjaro.

Code:
[branon@pbp bin]$ cmake .. CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):  Could NOT find sodium (missing: sodium_LIBRARY_RELEASE  sodium_LIBRARY_DEBUG) (found version "1.0.18") Call Stack (most recent call first):  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)  CMake/Findsodium.cmake:224 (find_package_handle_standard_args)  CMakeLists.txt:117 (find_package) -- Configuring incomplete, errors occurred! See also "/home/branon/git/devilutionX/bin/CMakeFiles/CMakeOutput.log". See also "/home/branon/git/devilutionX/bin/CMakeFiles/CMakeError.log".

libsodium is installled:

Code:
[branon@pbp bin]$ pacman -Ss libsodium community/libsodium 1.0.18-1 [installed]    P(ortable|ackageable) NaCl-based crypto library

Edit: I haave discovered that AUR packages for devilutionX exist, and have attempted to use them. They do not appear to be binary packages, and they attempt to compile from source before failing with the same error.

Code:
[branon@pbp ~]$ yay -Sy devilutionx :: Synchronizing package databases... core is up to date extra is up to date community is up to date :: There are 3 providers available for devilutionx: :: Repository AUR    1) devilutionx 2) devilutionx-git 3) devilutionx-multilib-git Enter a number (default=1): :: Checking for conflicts... :: Checking for inner conflicts... [Repo: 4]  mpg123-1.25.13-1  opusfile-0.11-1  sdl2_mixer-2.0.4-3  sdl2_ttf-2.0.15-1 [Aur: 1]  devilutionx-1.0.0-1 :: Downloaded PKGBUILD (1/1): devilutionx  1 devilutionx                              (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> :: Parsing SRCINFO (1/1): devilutionx ==> The following packages are not compatible with your architecture:  devilutionx ==> Try to build them anyway? [Y/n] y :: Synchronizing package databases... core is up to date extra is up to date community is up to date resolving dependencies... looking for conflicting packages... Package (4)         New Version  Net Change  Download Size extra/mpg123        1.25.13-1      0.72 MiB       0.25 MiB community/opusfile  0.11-1         0.24 MiB       0.06 MiB extra/sdl2_mixer    2.0.4-3        0.20 MiB       0.06 MiB extra/sdl2_ttf      2.0.15-1       0.08 MiB       0.02 MiB Total Download Size:   0.38 MiB Total Installed Size:  1.24 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... mpg123-1.25.13-1-aarch64                                                              254.3 KiB   687 KiB/s 00:00 [####################################################################] 100% sdl2_mixer-2.0.4-3-aarch64                                                             62.9 KiB  6.14 MiB/s 00:00 [####################################################################] 100% sdl2_ttf-2.0.15-1-aarch64                                                              17.5 KiB  0.00   B/s 00:00 [####################################################################] 100% opusfile-0.11-1-aarch64                                                                58.7 KiB  5.74 MiB/s 00:00 [####################################################################] 100% (4/4) checking keys in keyring                                                                                     [####################################################################] 100% (4/4) checking package integrity                                                                                   [####################################################################] 100% (4/4) loading package files                                                                                        [####################################################################] 100% (4/4) checking for file conflicts                                                                                  [####################################################################] 100% (4/4) checking available disk space                                                                                [####################################################################] 100% :: Processing package changes... (1/4) installing mpg123                                                                                            [####################################################################] 100% Optional dependencies for mpg123    sdl: for sdl audio support    jack: for jack audio support [installed]    libpulse: for pulse audio support [installed] (2/4) installing opusfile                                                                                          [####################################################################] 100% (3/4) installing sdl2_mixer                                                                                        [####################################################################] 100% Optional dependencies for sdl2_mixer    fluidsynth: MIDI software synth, replaces built-in timidity (4/4) installing sdl2_ttf                                                                                          [####################################################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Making package: devilutionx 1.0.0-1 (Sat 25 Jan 2020 06:40:13 PM EST) ==> Retrieving sources...  -> Downloading 1.0.0.tar.gz...  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed 100   130    0   130    0     0    582      0 --:--:-- --:--:-- --:--:--   582 100 1756k    0 1756k    0     0  1037k      0 --:--:--  0:00:01 --:--:-- 1508k  -> Found devilutionx.png ==> Validating source files with md5sums...    1.0.0.tar.gz ... Passed    devilutionx.png ... Passed sdl2_mixer not satisfied, flushing install queue ==> Making package: devilutionx 1.0.0-1 (Sat 25 Jan 2020 06:40:21 PM EST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources...  -> Found 1.0.0.tar.gz  -> Found devilutionx.png ==> Validating source files with md5sums...    1.0.0.tar.gz ... Passed    devilutionx.png ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources...  -> Extracting 1.0.0.tar.gz with bsdtar ==> Starting prepare()... fatal: No names found, cannot describe anything. CMake Warning at CMakeLists.txt:28 (project):  VERSION keyword not followed by a value or was followed by a value that  expanded to nothing. -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE   CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):  Could NOT find sodium (missing: sodium_LIBRARY_RELEASE  sodium_LIBRARY_DEBUG) (found version "1.0.18") Call Stack (most recent call first):  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)  CMake/Findsodium.cmake:224 (find_package_handle_standard_args)  CMakeLists.txt:117 (find_package) -- Configuring incomplete, errors occurred! See also "/home/branon/.cache/yay/devilutionx/src/devilutionX-1.0.0/build/CMakeFiles/CMakeOutput.log". See also "/home/branon/.cache/yay/devilutionx/src/devilutionX-1.0.0/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in prepare().    Aborting... Error making: devilutionx

There is also a multilib version but that complains about unresolvable dependencies

Code:
[branon@pbp ~]$ yay -Sy devilutionx-git :: Synchronizing package databases... core is up to date extra is up to date community is up to date :: There are 2 providers available for lib32-gcc-libs: :: Repository AUR    1) lib32-gcc-libs-git 2) lib32-gcc-libs-gitb Enter a number (default=1): ==> Error: Could not find all required packages:    lib32-glibc>=2.20 (Wanted by: devilutionx-git -> lib32-gcc-libs-git)    lib32-sdl2_mixer (Wanted by: devilutionx-git)    lib32-sdl2_ttf (Wanted by: devilutionx-git)    lib32-libsodium (Wanted by: devilutionx-git)

There is a thread open on the DevillutionX git for this https://github.com/diasurgical/devilutionX/issues/225
  Reply


Messages In This Thread
RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - by astr0baby - 01-25-2020, 05:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 17,214 Today, 04:48 AM
Last Post: deltaexploitss
  Updated Pinebook Pro? tantamount 2 2,638 06-20-2026, 10:14 AM
Last Post: tantamount
  Pinebook pro bricked? michaelmoua 4 8,416 05-26-2026, 02:20 AM
Last Post: Anthona
Thumbs Up Finally got Kali working on my Pinebook Pro! qingss0 0 1,969 04-04-2026, 08:00 AM
Last Post: qingss0
  dead Pinebook - help please RicTor 3 3,648 03-26-2026, 04:22 PM
Last Post: williamcorlin
  Pinebook problem meghancordo 2 7,110 03-18-2026, 08:58 AM
Last Post: RicTor
  Pinebook Pro in EU for Sale - €90 jan_vdk 5 11,051 02-09-2026, 12:50 AM
Last Post: Anthona
  Pinebook Pro for sale rfm83 0 2,174 11-08-2025, 09:22 AM
Last Post: rfm83
Question Full desktop Surfing and Absolute Privacy on the pinebook? Www 1 9,050 08-02-2025, 08:55 PM
Last Post: KC9UDX
Question Printing and scanning documents with pinebook? Www 0 5,401 06-28-2025, 01:25 AM
Last Post: Www

Forum Jump:


Users browsing this thread: 2 Guest(s)