Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary releases #47

Open
2 of 4 tasks
zbanks opened this issue Oct 15, 2017 · 9 comments
Open
2 of 4 tasks

Binary releases #47

zbanks opened this issue Oct 15, 2017 · 9 comments

Comments

@zbanks
Copy link
Owner

zbanks commented Oct 15, 2017

  • Linux .tar.gz
  • Ubuntu PPA / .deb
  • Mac OS X
  • Windows
@ervanalb
Copy link
Collaborator

Working on MacOS, needs fairly substantial work...

@probonopd
Copy link

probonopd commented Nov 9, 2017

@ervanalb
Copy link
Collaborator

@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
Copy link
Collaborator

@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 😨

@ervanalb
Copy link
Collaborator

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 🤖

@probonopd
Copy link

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.

@ervanalb
Copy link
Collaborator

Thanks for the tip, works great now!

@ervanalb
Copy link
Collaborator

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

@probonopd
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants