erak / glmixer

GNU General Public License v3.0
8 stars 2 forks source link

How to compile on Ubuntu 20.04 (Focal) #1

Open jasonrohrer opened 5 months ago

jasonrohrer commented 5 months ago

I'm documenting what it took to compile.

First:

qt4 stuff doesn't seem to be in the repository anymore. I had to add a ppa like so:

sudo add-apt-repository ppa:rock-core/qt4
sudo apt-get update

Second:

The source tree in Github doesn't seem to work correctly. The following folder is empty:

libv4l2cpp

But cloning with svn from SourceForge did seem to work. Actually, in the svn version, that folder doesn't exist. But in the github version, it seems to be looking to CMake into that folder as a sub-directory, and that fails.

Third:

The following dependencies were given:

sudo apt-get install subversion cmake-qt-gui ninja-build libqt4-opengl-dev libglew-dev libavformat-dev libhighgui-dev libavfilter-dev libv4l-dev xsltproc

But libhighgui-dev no longer exists, and I had to install this instead:

libopencv-dev

I also had to install these:

libx264-dev
liblog4cpp5-dev
libavdevice-dev
libqtwebkit-dev

So, my final steps to get this working were:

sudo add-apt-repository ppa:rock-core/qt4
sudo apt-get update

sudo apt-get install subversion cmake-qt-gui ninja-build libqt4-opengl-dev libglew-dev libavformat-dev libopencv-dev libavfilter-dev libv4l-dev xsltproc libx264-dev liblog4cpp5-dev libavdevice-dev libqtwebkit-dev

svn checkout svn://svn.code.sf.net/p/glmixer/Source/trunk glmixer-Source

mkdir glmixer-build

cd glmixer-build

cmake -G Ninja ../glmixer-Source

ninja

Then run from inside glmixer-build directory with:

./src/glmixer

And then it just started up, and it worked! I was able to load some images and video clips and cross-fade and loop them right away. What a cool piece of software!

DarrellJonsson commented 5 months ago

Hi Jason, This is good news.

From: "Jason Rohrer" @.> To: "erak/glmixer" @.> Cc: "Subscribed" @.***> Sent: Tuesday, May 14, 2024 11:12:15 PM Subject: [erak/glmixer] How to compile on Ubuntu 20.04 (Focal) (Issue #1)

I'm documenting what it took to compile.

First:

The source tree in Github doesn't seem to work correctly. The following folder is empty:

libv4l2cpp

But cloning with svn from SourceForge did seem to work. Actually, in the svn version, that folder doesn't exist. But in the github version, it seems to be looking to CMake into that folder as a sub-directory, and that fails.

Second:

The following dependencies were given:

sudo apt-get install subversion cmake-qt-gui ninja-build libqt4-opengl-dev libglew-dev libavformat-dev libhighgui-dev libavfilter-dev libv4l-dev xsltproc

However, I also had to install these: libx264-dev liblog4cpp5-dev libavdevice-dev libqtwebkit-dev

— Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you are subscribed to this thread. Message ID: <erak/glmixer/issues/1 @ github . com>