radiance icon indicating copy to clipboard operation
radiance copied to clipboard

Binary releases

Open zbanks opened this issue 8 years ago • 9 comments

  • [x] Linux .tar.gz
  • [ ] Ubuntu PPA / .deb
  • [x] Mac OS X
  • [ ] Windows

zbanks avatar Oct 15 '17 19:10 zbanks

Working on MacOS, needs fairly substantial work...

ervanalb avatar Oct 22 '17 01:10 ervanalb

probonopd avatar Nov 09 '17 23:11 probonopd

@probonopd working on it :)

differing versions of stdc++ and other non-bundled libs is such a pain though... any tips on how to take care of that?

ervanalb avatar Nov 16 '17 06:11 ervanalb

@probonopd

So linuxdeployqt (by way of make bundle) runs fine on my system, but I can't get it to work on Travis.

Here is a link to the most recent failed run of linuxdeployqt: https://travis-ci.org/zbanks/radiance/builds/302865887#L2137

The error messages are as follows:

ERROR: qmlimportscanner not found at "/tmp/.mount_linuxdicYTHO/usr/bin/qmlimportscanner"
ERROR: Please install it if you want to bundle QML based applications.
ERROR: findDependencyInfo: "ldd: /usr/lib/x86_64-linux-gnu/qt4/plugins/platforms/libqxcb.so: No such file or directory\n"
ERROR: getBinaryRPaths: "objdump: '/usr/lib/x86_64-linux-gnu/qt4/plugins/platforms/libqxcb.so': No such file\n"
ERROR: file copy failed from "/usr/lib/x86_64-linux-gnu/qt4/plugins/platforms/libqxcb.so"
ERROR:  to "/home/travis/build/zbanks/radiance/build/Radiance.AppDir/plugins/platforms/libqxcb.so"

these errors are from the second invocation of linuxdeployqt.

I'm pretty worried about the qt4 in those paths... this project requires qt 5.9 :fearful:

ervanalb avatar Nov 16 '17 06:11 ervanalb

Oh and in case anybody is following this issue, Mac builds totally work and you can grab one from https://radiance.video/. I'm not going to check this off though until Travis is building them :robot:

ervanalb avatar Nov 16 '17 06:11 ervanalb

linuxdeployqt tries to determine the path to qmlimportscanner by querying the Qt installation that provides the qmake on the $PATH. Hence the correct qmake needs to be on the $PATH. See https://github.com/probonopd/linuxdeployqt/#using-linuxdeployqt-with-travis-ci for an example .travis.yml and https://github.com/probonopd/linuxdeployqt/#projects-using-linuxdeployqt for projects that are using linuxdeployqt on Travis CI.

Verify that qmake finds the correct Qt instance like this before running the linuxdeployqt tool:

qmake -v

QMake version 3.0
Using Qt version 5.7.0 in /tmp/.mount_QtCreator-5.7.0-x86_64/5.7/gcc_64/lib

If this does not show the correct path to your Qt instance that you want to be bundled, then adjust your $PATH to find the correct qmake.

Alternatively, use the -qmake command line option to point the tool directly to the qmake executable to be used.

probonopd avatar Nov 16 '17 17:11 probonopd

Thanks for the tip, works great now!

ervanalb avatar Nov 17 '17 00:11 ervanalb

MacOS now works and can be found on the releases page.

ervanalb avatar Nov 17 '17 03:11 ervanalb

On ubuntu-16.04-desktop-amd64.iso and ubuntu-17.10-desktop-amd64.iso I get:

me@host:~$ '/home/me/Downloads/Radiance.AppDir/radiance' 
Library path is: "/home/me/Downloads/Radiance.AppDir/resources/library/"
QML path is: "/home/me/Downloads/Radiance.AppDir/resources/qml/"
GLSL path is: "/home/me/Downloads/Radiance.AppDir/resources/glsl/"
Illegal instruction

I don't know what causes this.

On CentOS-7-x86_64-LiveGNOME-1511.iso, debian-live-8.6.0-amd64-xfce-desktop.iso and ubuntu-14.04.1-desktop-amd64.iso I get:

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /mnt/AppRun)

Check https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages#libstdcso6 for how to mitigate this.

probonopd avatar Nov 17 '17 15:11 probonopd