patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.63k stars 351 forks source link

add-apt-repository fails #247

Open edap opened 2 years ago

edap commented 2 years ago

Hello, I am trying to add the repository (sudo add-apt-repository ppa:patriciogv/glslviewer-ppa) on PopOS but I receive this error:

E: The repository 'http://ppa.launchpad.net/patriciogv/glslviewer-ppa/ubuntu hirsute Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
patriciogonzalezvivo commented 2 years ago

Hi! the ppa don't have a binary for hirsute (which I suppose is a PopOS version). That said, I still haven't update the ubuntus PPAs... they are still running v1.6.0.

Installing from this list of .deb may work https://github.com/patriciogonzalezvivo/glslViewer/releases/tag/2.0.0 Or other wise, compiling from source https://github.com/patriciogonzalezvivo/glslViewer/wiki/Compile-on-linux

edap commented 2 years ago

Hello Patricio, thanks for your quick reply and for all the work that you put in glslViewer.

Unfortunately the .deb does not work neither. As soon as I click on the icon to launch it, it shows a window but then it closes. I have tried to install it from source, but it fails:

-- Configuring incomplete, errors occurred!
See also "/home/dapx/Applications/glslViewer/build/CMakeFiles/CMakeOutput.log".
See also "/home/dapx/Applications/glslViewer/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:3: default] Error 1

Unfortunately I have already deleted the logs and uninstalled the additional dependencies, because they were causing some dependency issue.

Hirsute Hippo is the name of the Ubuntu release 21.04 (http://www.releases.ubuntu.com/21.04/), popOS can use ubuntu repo,.

patriciogonzalezvivo commented 2 years ago

Sorry for that, seams your best option for the moment is compiling from source. Try https://github.com/patriciogonzalezvivo/glslViewer/wiki/Compile-on-linux

RpxdYTX commented 2 years ago

Fun fact: building from source in PopOS 22.04 Jammy fails with a first time declaration error, i don't remeber which function it was, but it was missing something when compiling

nettum commented 1 year ago

For the record, it's the same on Ubuntu 22.04.

E: The repository 'https://ppa.launchpadcontent.net/patriciogv/glslviewer-ppa/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy

Have not tried installing from source.

patriciogonzalezvivo commented 1 year ago

Thanks @nettum I haven't been updating .deb to the PPA repo for a while. The release should contain a .deb that you can use. If you are in ubuntu compiling from source should be straight forward

nettum commented 1 year ago

Thanks for the info! Compiling from source worked, but I had to run sudo apt-get install build-essential as I got an No CMAKE_CXX_COMPILER could be found error during cmake ..

patriciogonzalezvivo commented 1 year ago

@nettum Thanks for this heads up! I will added to the wiki!