← Back to team overview

yade-users team mailing list archive

No gui rev trunk 2530

 

Hi all,
I have a problem when installing the version trunk 2530. The installation works well but I don't have the Controller nor the viewer. 

I don't have this problem with the 05 version: everything works well.

I think it is related with the qt3 / qt4 versions. 
I tried : 

~/Documents/yade$ scons -j2  PREFIX=/home/fbourrier/Documents/YADE-DEV features=qt4 --help

Here is the error message :

scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `bzr2530' (bzr2530), installed files will be suffixed with `-bzr2530'.
All intermediary files will be in `/home/fbourrier/Documents/build-bzr2530'.
Checking whether c++ compiler "g++" works...(cached) yes
Finding libstdc++ library... (cached) /usr/lib/libstdc++.so.6
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for Python development files... (cached) ok
Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
Checking for required python modules... (cached) all ok
Checking boost libraries... (cached) all ok
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for C++ header file Eigen/Core... (cached) yes
Checking for C++ header file loki/NullType.h... (cached) yes
KeyError: 'QGLVIEWER_LIB':
  File "/home/fbourrier/Documents/yade/SConstruct", line 592:
    env.SConscript(dirs=['.'],build_dir=buildDir,duplicate=0)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 553:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 262:
    exec _file_ in call_stack[-1].globals
  File "/home/fbourrier/Documents/yade/SConscript", line 5:
    SConscript(dirs=['core','lib']+[d for d in ('extra','py','gui') if d not in env['exclude']],duplicate=0)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 616:
    return apply(method, args, kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 553:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 262:
    exec _file_ in call_stack[-1].globals
  File "/home/fbourrier/Documents/yade/gui/SConscript", line 14:
    env.SharedLibrary('_GLViewer',['qt4/GLViewer.cpp','qt4/_GLViewer.cpp','qt4/OpenGLManager.cpp'],SHLIBPREFIX='',LIBS=env['LIBS']+[env['QGLVIEWER_LIB']]+linkPlugins(['PeriodicEngines']),RPATH=env['RPATH']+[env.Literal('\\$$ORIGIN/../../../gui')],CXX=env['QT4CXX'] if haveQt4Cxx else env['CXX'],CXXFLAGS=[f for f in env['CXXFLAGS'] if not f.startswith('-Q')] if haveQt4Cxx else env['CXXFLAGS'])
  File "/usr/lib/scons/SCons/Environment.py", line 408:
    return self._dict[key]

Thank you for your help
Franck


Follow ups

References