← Back to team overview

yade-dev team mailing list archive

Re: [Yade-commits] r1404 - in trunk: extra gui/py gui/qt3 pkg/common/Engine/MetaEngine pkg/common/Engine/StandAloneEngine pkg/common/RenderingEngine/GLDrawGeometricalModel pkg/dem/Engine/StandAloneEngine

 

> >> 1. SimulationPlayer does't update the view when playing (displayed only the first frame).
> >>     
> >
> > The reason: given the relative path to the position's directory and working directory is not parent of it...
> >   

Fix in svn1409.


> 
> 2. -fpermissive is needed for g++-4.3, but I am not aware of it being
> needed for python specifically. Can you give your compiler's vversion
> and what does exactly means "without it I can't run python gui..."?
> 

g++ 4.3.1 

sega@linux:~/work/yade/trunk/scripts> yade-trunk-nopermissive simple-scene.py
...
ERROR gui/qt3/QtGUI.cpp:57 run: Unprocessed non-option argument: `simple-scene.py'

compiling with -fpermissive:

>sega@linux:~/work/yade/trunk> scons profile=opt
>scons: Reading SConscript files ...
>@@@ Using profile opt (scons.profile-opt) @@@
>Yade version is `trunk', installed files will be suffixed with `-trunk-opt'.
>All intermediary files will be in `/home/sega/build/yade/build-trunk-opt'.
>Checking whether c++ compiler "g++" works...(cached) yes
>Checking for pthread_exit(NULL) in C library pthread... (cached) yes
>Checking for glutGetModifiers() in C library glut... (cached) yes
>Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... (cached) yes
>Checking for boost::thread::thread() in C++ library boost_thread-mt... (cached) yes
>Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... (cached) yes
>Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... (cached) yes
>Checking for C++ header file boost/foreach.hpp... (cached) yes
>Checking for qt-mt in /usr/lib/qt3... (cached) yes
>Checking for Python development files... (cached) yes
>Checking for boost::python::scope() in C++ library boost_python-mt... (cached) yes
>scons: done reading SConscript files.
>scons: Building targets ...

without -fpemissive get no boost_python:

>sega@linux:~/work/yade/trunk> scons profile=nopermissive
>scons: Reading SConscript files ...
>@@@ Using profile nopermissive (scons.profile-nopermissive) @@@
>Yade version is `trunk', installed files will be suffixed with `-trunk-nopermissive'.
>All intermediary files will be in `/home/sega/build/yade/build-trunk-nopermissive'.
>Checking whether c++ compiler "g++" works...yes
>Checking for pthread_exit(NULL) in C library pthread... yes
>Checking for glutGetModifiers() in C library glut... yes
>Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... yes
>Checking for boost::thread::thread() in C++ library boost_thread-mt... yes
>Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... yes
>Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... yes
>Checking for C++ header file boost/foreach.hpp... yes
>Checking for qt-mt in /usr/lib/qt3... yes
>Checking for Python development files... yes
>Checking for boost::python::scope() in C++ library boost_python-mt... no
>Checking for boost::python::scope() in C++ library boost_python... no
>scons: done reading SConscript files.
>scons: Building targets ...

Another errors:

1. Viewer size does not change with SimulationPlayer window size.
2. The Primary View of Simulation Controller does not show at first start (seems, scene size is not correct).

-- 
Best regards, Sergei D.
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References