← Back to team overview

yade-users team mailing list archive

RE : RE : No gui rev trunk 2530

 

Thank you Anton,

I thought that the default features were still active when adding one.
Everything works well when installing with :

 scons -j2  PREFIX=/home/fbourrier/Documents/YADE-DEV features=log4cxx,opengl,gts,openmp,vtk,qt4

Franck



-------- Message d'origine--------
De: yade-users-bounces+franck.bourrier=cemagref.fr@xxxxxxxxxxxxxxxxxxx de la part de Anton Gladky
Date: lun. 08/11/2010 11:10
À: yade-users@xxxxxxxxxxxxxxxxxxx
Objet : Re: [Yade-users] RE :  No gui rev trunk 2530
 
No, please, answer always to list, because other users can find it helpful.

I think, that the problem in your case is in insufficient feature list. At
least, you should add opengl option.
You OS is "standard" for yade-users, so probably you will not have any
problems with that.

Anton



On Mon, Nov 8, 2010 at 11:01 AM, Bourrier Franck <
franck.bourrier@xxxxxxxxxxx> wrote:

>  Hi,
> I answer jus to you not to disturb other users (I don't know the uses of
> Yade users list)
> My install is ubuntu 10.04. I updated it regularly with no special
> problems.
>
> Here is my scons.profile.default :
>
> PREFIX = '/home/fbourrier/Documents/YADE-DEV'
> exclude = 'none'
> features = 'qt4'
> CXXFLAGS = []
> SHCCFLAGS = ['-fPIC']
>
>
>
> -------- Message d'origine--------
> De: yade-users-bounces+franck.bourrier=cemagref.fr@xxxxxxxxxxxxxxxxxxx de
> la part de Anton Gladky
> Date: lun. 08/11/2010 10:47
> À: yade-users@xxxxxxxxxxxxxxxxxxx
> Objet : Re: [Yade-users] No gui rev trunk 2530
>
> Hi,
>
> What OS do you use?
> Do you have clean install?
>
> Please, show your scons.profile-default
>
>
> Anton
>
>
>
> On Mon, Nov 8, 2010 at 10:11 AM, Bourrier Franck <
> franck.bourrier@xxxxxxxxxxx> wrote:
>
> >
> > 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
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> <https://launchpad.net/%7Eyade-users>
> > Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> <https://launchpad.net/%7Eyade-users>
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
>
>


References