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

Build failed #164

Closed
tim2000 opened this issue Dec 30, 2015 · 4 comments
Closed

Build failed #164

tim2000 opened this issue Dec 30, 2015 · 4 comments

Comments

@tim2000
Copy link

tim2000 commented Dec 30, 2015

Failed on : Linux version 2.6.32-573.8.1.el6.i686 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Tue Nov 10 14:58:44 UTC 2015

See the full build log.
GammaRayBuildFailed.txt

@vkrause
Copy link
Contributor

vkrause commented Dec 30, 2015

Weird, looks like a mix of Qt4 and Qt5 headers being used. Where is your Qt5 installed? What arguments did you pass to CMake?

@tim2000
Copy link
Author

tim2000 commented Dec 30, 2015

cmake .. -DCMAKE_BUILD_TYPE=Debug

Qt5 install : /usr/local/
Qt4 install : /usr/

So it's more an environment problem than an issue, sorry it should not belong here. I'm not asking for help, you have better things to do.

FYI, Qt4 build is not woking either, same problem concerning Qt4/Qt5 mix:
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1386 (message): Found unsuitable Qt version "5.5.1" from /usr/local/bin/qmake, this code requires Qt 4.x Call Stack (most recent call first): CMakeLists.txt:310 (find_package)

Thanks anyway.

@krf
Copy link
Contributor

krf commented Jan 27, 2016

This is an environment setup issue. If you want to build against Qt5, make sure /usr/local/bin is first in PATH, if you want to build against Qt4 prepend /usr/bin.

You might need to pass -DGAMMARAY_ENFORCE_QT4_BUILD=ON to cmake if you want a Qt4 build.

@krf krf closed this as completed Jan 27, 2016
@Birky
Copy link

Birky commented Feb 24, 2016

Hey @tim2000, I had the same error and the solution is pretty simple. You need to set the VTK_QT_VERSION from 4 to 5 :)

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

4 participants