Author Topic: Attract Mode is running fine on Ubuntu 22.04  (Read 3075 times)

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Attract Mode is running fine on Ubuntu 22.04
« on: April 25, 2022, 04:53:17 AM »
As tested, Attract Mode is running fine on Ubuntu 22.04.  :)

capricorn

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Attract Mode is running fine on Ubuntu 22.04
« Reply #1 on: June 03, 2022, 10:13:45 AM »
did you build it from source or use the old yakkity deb?

zpaolo11x

  • Hero Member
  • *****
  • Posts: 1233
    • View Profile
    • My deviantart page
Re: Attract Mode is running fine on Ubuntu 22.04
« Reply #2 on: June 03, 2022, 10:36:28 PM »
did you build it from source or use the old yakkity deb?

If you use attractplus with KMS/DRM then you just have to download the static release from Oomek repository. I wanted to run it under X11 so I compiled both attract plus and SFML 2.6 on 22.04 with no issues.

cyneater

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Attract Mode is running fine on Ubuntu 22.04
« Reply #3 on: June 07, 2022, 10:38:28 PM »
How I get the same compile or cannot find X dependency errors as 20.10

zpaolo11x

  • Hero Member
  • *****
  • Posts: 1233
    • View Profile
    • My deviantart page
Re: Attract Mode is running fine on Ubuntu 22.04
« Reply #4 on: June 08, 2022, 05:33:01 AM »
How I get the same compile or cannot find X dependency errors as 20.10

I never tried compiling on 20.10, but are you compiling attract mode or attract mode plus? And did you install all the -dev prerequisite libraries? If compile fails for a missing dependency you should have an error message helping you find out what library you need. I have a long list of deps I install before compiling, probably it's more than necessary, btw it's this:

Code: [Select]
# install to compile attractplus

sudo apt install git

sudo apt install build-essential
sudo apt install libsfml-dev
sudo apt install libopenal-dev
sudo apt install zlib1g-dev
sudo apt install libfreetype6-dev
sudo apt install libfreetype-dev
sudo apt install libavformat-dev
sudo apt install libavcodec-dev
sudo apt install libswscale-dev
sudo apt install libavutil-dev
sudo apt install libswresample-dev
sudo apt install libavresample-dev
sudo apt install libjpeg-dev
sudo apt install libxrandr-dev
sudo apt install libopengl-dev
sudo apt install libglu1-mesa-dev
sudo apt install libfontconfig1-dev
sudo apt install libxinerama-dev
sudo apt install libcurl4-gnutls-dev
sudo apt install libxcursor-dev
sudo apt install libgl1-mesa-dev

# install to compile sfml

sudo apt install cmake

sudo apt install freeglut3-dev
sudo apt install mesa-common-dev
sudo apt install libarchive-dev
sudo apt install libsndfile1-dev
sudo apt install libx11-dev
sudo apt install xorg-dev
sudo apt install libudev-dev
sudo apt install libopengl-dev
sudo apt install libgl-dev
sudo apt install libflac-dev
sudo apt install libogg-dev
sudo apt install libvorbis-dev
sudo apt install libvorbisenc2
sudo apt install libvorbisfile3
sudo apt install libpthread*

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: Attract Mode is running fine on Ubuntu 22.04
« Reply #5 on: June 28, 2022, 10:34:30 AM »
As tested, Attract Mode is running fine on Ubuntu 22.04.  :)

Yes it does (penguins unite!..even if you are a fox :P )  however I do have a problem with AM crashing every once in a while now  :-\
People want life easy..then complain about it

OutOfQuarters

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Attract Mode is running fine on Ubuntu 22.04
« Reply #6 on: September 13, 2022, 06:32:26 PM »
thank you much guys! i almost gave up.. i needed to do one more thing

sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0 /usr/lib/x86_64-linux-gnu/libGL.so