Re: [Yade-users] [Question #402702]: Problem since I installed Ubuntu 16 Xenial

2016-10-05 Thread benoch
Question #402702 on Yade changed:
https://answers.launchpad.net/yade/+question/402702

Status: Answered => Solved

benoch confirmed that the question is solved:
Hi Anton

I am using a local version.

I solved the problem by:
-forking the repository: https://help.github.com/articles/fork-a-repo/
-syncing the forked repository to trunk: 
https://help.github.com/articles/syncing-a-fork/

Actually I thought I had already done it but I guess I reinstalled
"mytrunk" afterwards. Thanks to your comment it reminded me about it!

Benoit

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #402702]: Problem since I installed Ubuntu 16 Xenial

2016-10-05 Thread benoch
Question #402702 on Yade changed:
https://answers.launchpad.net/yade/+question/402702

benoch confirmed that the question is solved:
Thanks Anton Gladky, that solved my question.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #402702]: Problem since I installed Ubuntu 16 Xenial

2016-10-03 Thread Anton Gladky
Question #402702 on Yade changed:
https://answers.launchpad.net/yade/+question/402702

Status: Open => Answered

Anton Gladky proposed the following answer:
Hi,

what Yade version do you use? Try to use at least the latest stable or
the trunk.

Anton

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #402702]: Problem since I installed Ubuntu 16 Xenial

2016-10-02 Thread benoch
New question #402702 on Yade:
https://answers.launchpad.net/yade/+question/402702

Hi,

I had YADE (daily) working fine on my computer with Ubuntu 14 but then I got 
proposed to update to Ubuntu 16.
Since I cannot compile YADE, I get the error bellow with qt4 it seems. Does 
anyone have an idea?

Benoit

-

bch@bch-HP-EliteBook-840-G2:~/YADE-THERMAL/build$ make -j4
Scanning dependencies of target _packObb
Scanning dependencies of target WeightedAverage2d
Scanning dependencies of target _polyhedra_utils
[  0%] Building CXX object py/CMakeFiles/_packObb.dir/pack/_packObb.cpp.o
[  0%] Building CXX object 
py/CMakeFiles/WeightedAverage2d.dir/WeightedAverage2d.cpp.o
[  1%] Building CXX object 
py/CMakeFiles/_polyhedra_utils.dir/_polyhedra_utils.cpp.o
[  1%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o
[  2%] Linking CXX shared library lib/x86_64-linux-gnu/_packObb.so
[  2%] Built target _packObb
[  3%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/_GLViewer.cpp.o
In file included from 
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0,
 from 
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
 from /home/bch/YADE-THERMAL/mytrunk/py/_polyhedra_utils.cpp:15:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
 warning: #warning "Using deprecated NumPy API, disable it by " "#defining 
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
[  4%] Linking CXX shared library lib/x86_64-linux-gnu/WeightedAverage2d.so
[  4%] Built target WeightedAverage2d
[  5%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/OpenGLManager.cpp.o
/home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.cpp: In member function ‘void 
GLViewer::centerScene()’:
/home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.cpp:355:27: error: ‘isnan’ was 
not declared in this scope
  bool hasNan=(isnan(min[0])||isnan(min[1])||isnan(min[2])||isnan(max[0])||isnan
   ^
/home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.cpp:355:27: note: suggested 
alternatives:
In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21:0,
 from 
/usr/include/boost/date_time/posix_time/posix_time_config.hpp:15,
 from 
/usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
 from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
 from /usr/include/boost/date_time/posix_time/posix_time.hpp:15,
 from /home/bch/YADE-THERMAL/mytrunk/core/Omega.hpp:14,
 from /home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.hpp:6,
 from /home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.cpp:11:
/usr/include/c++/5/cmath:641:5: note:   ‘std::isnan’
 isnan(_Tp __x)
 ^
In file included from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:35:0,
 from 
/usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:64,
 from 
/usr/include/boost/lexical_cast/detail/converter_lexical.hpp:53,
 from 
/usr/include/boost/lexical_cast/try_lexical_convert.hpp:34,
 from /usr/include/boost/lexical_cast.hpp:32,
 from /usr/include/boost/date_time/string_parse_tree.hpp:13,
 from /usr/include/boost/date_time/period_parser.hpp:14,
 from /usr/include/boost/date_time/date_facet.hpp:23,
 from 
/usr/include/boost/date_time/gregorian/gregorian_io.hpp:16,
 from /usr/include/boost/date_time/gregorian/gregorian.hpp:31,
 from 
/usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
 from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
 from /home/bch/YADE-THERMAL/mytrunk/core/Omega.hpp:14,
 from /home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.hpp:6,
 from /home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.cpp:11:
/usr/include/boost/math/special_functions/fpclassify.hpp:579:14: note:   
‘boost::math::isnan’
 inline bool (isnan)(T x)
  ^
In file included from /usr/include/eigen3/Eigen/Core:441:0,
 from /home/bch/YADE-THERMAL/mytrunk/lib/base/Math.hpp:89,
 from /home/bch/YADE-THERMAL/mytrunk/core/Omega.hpp:20,
 from /home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.hpp:6,
 from /home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.cpp:11:
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:67:139: note:   
‘Eigen::isnan’
In file included from /usr/include/eigen3/Eigen/Core:302:0,
 from /home/bch/YADE-THERMAL/mytrunk/lib/base/Math.hpp:89,
 from /home/bch/YADE-THERMAL/mytrunk/core/Omega.hpp:20,
 from /home/bch/YADE-THERMAL/mytrunk/gui/qt4/GLViewer.hpp:6,