Help compiling latest PCSX2 in Ubuntu 20.10 Groovy Gorilla

I'm trying to compile latest PCSX2 build in Ubuntu 20.10 Groovy Gorilla by following the guide

I'm interested in the very latest code because of specific gamepad support so I have to compile it on my own.

There is also
but I'm following the steps in the first link so...

git clone
sudo dpkg --add-architecture i386
sudo apt install cmake gcc-multilib g++-multilib
sudo apt install libaio-dev:i386 libbz2-dev:i386 libcggl:i386 libegl1-mesa-dev:i386 libglew-dev:i386 libgles2-mesa-dev:i386 libgtk2.0-dev:i386 libjpeg-dev:i386 libsdl1.2-dev:i386 libwxgtk3.0-gtk3-dev:i386 nvidia-cg-toolkit zlib1g-dev:i386 libsdl2-dev:i386 libjack-jackd2-dev:i386 libportaudiocpp0:i386 portaudio19-dev:i386 liblzma-dev:i386 libsoundtouch-dev:i386 libxml2-dev:i386 libpcap0.8-dev:i386

All packages install successfully but libglew-dev:i386

sudo apt install libglew-dev:i386
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Unable to locate package libglew-dev:i386

there is 2.1.0-4 for Groovy Gorilla
where I can download

sudo gdebi Downloads/libglew-dev_1.13.0-2_i386.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
This package is uninstallable
Conflicts with the installed package 'libglew-dev'

I have searched for the topic but the different messages in forums and websites are not conclusive. So any piece of advice on how to move on is much appreciated.

edit: compile attempt

Still, I have tried to compile and, as expected, different sorts of errors...

Forcing cross compilation.
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE -GNinja -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.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
-- Building with GNU GCC
-- BuildType set to Devel by default
-- Cross compilation is enabled.
-- Compiling a i386 build on a x86_64 host.
-- Found ALSA: /usr/lib/i386-linux-gnu/ (found version "")
-- Found PCAP: /usr/lib/i386-linux-gnu/ 
-- Performing Test PCAP_LINKS_SOLO
-- Performing Test PCAP_LINKS_SOLO - Success
-- Looking for pcap_get_pfring_id
-- Looking for pcap_get_pfring_id - not found
-- Found LibXml2: /usr/lib/i386-linux-gnu/ (found version "2.9.10")
-- Found Freetype: /usr/lib/i386-linux-gnu/ (found version "2.10.2")
-- Found Gettext: /usr/bin/msgmerge (found version "")
-- Found Git: /usr/bin/git (found version "2.27.0")
-- Looking for lzma_auto_decoder in /usr/lib/i386-linux-gnu/
-- Looking for lzma_auto_decoder in /usr/lib/i386-linux-gnu/ - found
-- Looking for lzma_easy_encoder in /usr/lib/i386-linux-gnu/
-- Looking for lzma_easy_encoder in /usr/lib/i386-linux-gnu/ - found
-- Looking for lzma_lzma_preset in /usr/lib/i386-linux-gnu/
-- Looking for lzma_lzma_preset in /usr/lib/i386-linux-gnu/ - found
-- Found LibLZMA: /usr/lib/i386-linux-gnu/ (found version "5.2.4")
-- Found OpenGL: /usr/lib/i386-linux-gnu/ 
-- Found ZLIB: /usr/lib/i386-linux-gnu/ (found version "1.2.11")
-- Found PNG: /usr/lib/i386-linux-gnu/ (found version "1.6.37")
-- Found wxWidgets: -L/usr/lib/i386-linux-gnu;-pthread;;;-lwx_baseu-3.0;-lwx_gtk3u_core-3.0;-lwx_gtk3u_adv-3.0 (found version "3.0.5")
-- Found Libc: /usr/lib/i386-linux-gnu/;/usr/lib/i386-linux-gnu/;/usr/lib/i386-linux-gnu/ 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'samplerate'
--  Found samplerate, version 0.1.9
-- Found libsamplerate: /usr/include 
-- Found PulseAudio: /usr/lib/i386-linux-gnu/ (found version "13.99.0")
-- EGL found
-- X11_XCB not found (miss lib)
-- AIO found
-- LIBUDEV found
-- PORTAUDIO found
-- SDL2 found
-- Found X11: /usr/include 
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/;/usr/lib/i386-linux-gnu/
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/;/usr/lib/i386-linux-gnu/ - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Some or all of the gtk libraries were not found. (missing: GTK3_GTK_LIBRARY GTK3_GTK_INCLUDE_DIR GTK3_GDK_INCLUDE_DIR GTK3_GDKCONFIG_INCLUDE_DIR GTK3_GDK_LIBRARY)
-- Found the following HarfBuzz libraries:
--  HarfBuzz (required): /usr/lib/i386-linux-gnu/
-- Found HarfBuzz: /usr/include/harfbuzz (found version "2.6.4")
CMake Warning at cmake/SearchForStuff.cmake:223 (message):
  ENABLE_TESTS was on but gtest was not found, unit tests will not be enabled
Call Stack (most recent call first):
  CMakeLists.txt:32 (include)

CMake Error at cmake/SearchForStuff.cmake:266 (message):
  No system or bundled fmt was found
Call Stack (most recent call first):
  CMakeLists.txt:32 (include)

-- Configuring incomplete, errors occurred!
See also "/home/user/pcsx2/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/pcsx2/build/CMakeFiles/CMakeError.log".
ninja: error: loading '': No such file or directory
ninja: error: loading '': No such file or directory

So issues with gtk, gtest, fmt, which are a bit hard to understand and solve.

Sponsored links

I'm not sure how good the Ubuntu Betas are supported, but for 20.04 there's a specific chapter on the site you've posted:

Your post indicates you took another path, probably give this one a try?
Tired of always changing your PCSX2 Configuration for different games?

Check this out:
Hi @XXXBold Thanks for your feedback. So useful because the info in your link has allowed me to compile PCSX2. So the info in the wiki seems to be a bit misleading as it is pointing in two directions.

For anyone's reference the steps in the guide are valid for Ubuntu 20.10 with the only exception that in the 2nd step with
sudo apt install cmake [...]

I had to install as well

Here's a screenshot:

[Image: Screenshot-from-2021-03-01-20-32-20.png]

The only problem... wine is not working anymore... Seems to be broken. I'll just figure it out.

wine --version
Command 'wine' not found, but can be installed with:
sudo apt install wine              # version 5.0-3ubuntu1, or
sudo apt install wine-development  # version 5.5-5ubuntu1

So thanks for your message!
Hi....I had to use the daily repo instead of stable because I’d compressed my entire library using pigz with the zopfli algorithm (took nearly a full month with a 9900k) before realizing that 1.4 stable didn’t support it.

order pcb assembly
See section "How to compile PCSX2 in 2021 (Ubuntu 20.04)" on this link below. You will build 64-bit version instead.
AMD Ryzen 3500X 3.5Ghz (OC'ed to 4.0Ghz)
16GB DDR4 2667Mhz RAM
Gigabyte Aorus B450i ITX mobo

*PCSX2 1.7.0 64-bit tester

Users browsing this thread: 1 Guest(s)