← Back to team overview

yade-users team mailing list archive

[Question #246843]: latest trunk make error

 

New question #246843 on Yade:
https://answers.launchpad.net/yade/+question/246843

When I downloaded the latest (trunk of 11th Apr.), after Cmake, there is error when make. All the dependent packages in the Yade installation page are all installed successfully, and yadedaily is installed successfully.

make error is below 

make
Scanning dependencies of target _GLViewer
...
[ 32%] Building CXX object CMakeFiles/yade.dir/pkg.17.cpp.o
In file included from /home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy.hpp:3:0,
                 from /home/mj/Yade/yade-trunk/trunk/pkg/dem/TesselationWrapper.cpp:11,
                 from /home/mj/Yade/yade-trunk/build/pkg.17.cpp:2:
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp: In constructor ‘numpy_boost<T, NDims>::numpy_boost(PyObject*)’:
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:                 namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:                 namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: expected primary-expression before ‘>’ token
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:193:25: error: ‘::typenum’ has not been declared
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp: In constructor ‘numpy_boost<T, NDims>::numpy_boost(const ExtentsList&)’:
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:                 namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: reference to ‘detail’ is ambiguous
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:51:18: error: candidates are: namespace detail { }
/usr/include/boost/type_traits/remove_reference.hpp:27:17: error:                 namespace boost::detail { }
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: expected primary-expression before ‘>’ token
/home/mj/Yade/yade-trunk/build/yade/lib/pyutil/numpy_boost.hpp:222:25: error: ‘::typenum’ has not been declared
In file included from /home/mj/Yade/yade-trunk/trunk/pkg/dem/ConcretePM.cpp:2:0,
                 from /home/mj/Yade/yade-trunk/build/pkg.17.cpp:4:
/home/mj/Yade/yade-trunk/trunk/pkg/dem/ConcretePM.hpp: In constructor ‘CpmPhys::CpmPhys()’:
/home/mj/Yade/yade-trunk/trunk/pkg/dem/ConcretePM.hpp:206:1: warning: operation on ‘((CpmPhys*)this)->CpmPhys::kappaD’ may be undefined [-Wsequence-point]
make[2]: *** [CMakeFiles/yade.dir/pkg.17.cpp.o] Error 1
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
make: *** [all] Error 2


-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.