Open lesire opened 10 years ago
Complete build log:
In file included from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/ControlNode.h:30:0,
from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/main_autopilot.cpp:24:
/home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/DroneController.h: In constructor ‘DronePosition::DronePosition(TooN::Vector<3>, double)’:
/home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/DroneController.h:52:18: warning: ‘DronePosition::pos’ will be initialized after [-Wreorder]
TooN::Vector<3> pos;
^
/home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/DroneController.h:51:9: warning: ‘double DronePosition::yaw’ [-Wreorder]
double yaw;
^
/home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/DroneController.h:53:9: warning: when initialized here [-Wreorder]
inline DronePosition(TooN::Vector<3> pos, double yaw)
^
In file included from /home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/TooN.h:250:0,
from /home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/so3.h:33,
from /home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/se3.h:33,
from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/DroneController.h:27,
from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/ControlNode.h:30,
from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/main_autopilot.cpp:24:
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/allocator.hh: In instantiation of ‘TooN::Internal::StackOrHeap<Size, double, false>::StackOrHeap() [with int Size = 1]’:
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/allocator.hh:105:43: required from ‘TooN::Internal::VectorAlloc<Size, Precision>::VectorAlloc() [with int Size = 1; Precision = double]’
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/vbase.hh:96:16: required from ‘TooN::Internal::GenericVBase<Size, Precision, Stride, Mem>::GenericVBase() [with int Size = 1; Precision = double; int Stride = 1; Mem = TooN::Internal::VectorAlloc<1, double>]’
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/vbase.hh:72:12: required from ‘TooN::Internal::VBase::VLayout<Size, Precision>::VLayout() [with int Size = 1; Precision = double]’
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/vector.hh:143:17: required from ‘TooN::Vector<Size, Precision, Base>::Vector() [with int Size = 1; Precision = double; Base = TooN::Internal::VBase]’
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/make_vector.hh:5:13: required from here
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/allocator.hh:68:33: error: ‘debug_initialize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug_initialize(my_data, Size);
^
In file included from /home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/TooN.h:255:0,
from /home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/so3.h:33,
from /home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/se3.h:33,
from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/DroneController.h:27,
from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/ControlNode.h:30,
from /home/lesire/work/r2d2/ardrone_ws/src/tum_ardrone/src/autopilot/main_autopilot.cpp:24:
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/debug.hh:100:33: note: ‘template
Same error with the previous versions (with or without the packaging of the thirdparty libs in an archive). So maybe the assignee is not the good person ;)
By previous versions you mean that you get the same error on ubuntu 13.04 and 12.10? Are you building the latest version of toon from github?
No, I have no error on Ubuntu 12.04. I think the error comes from the gcc version of 13.10. By 'previous version' I meant previous version of the archive of libs (with the 'old' libcvd)
fixed by #26
I am still getting this error despite the bug fix on ubuntu 12.10 with gcc 4.8. Any suggestions?
I am using groovy. Is there a problem with that?
Pull request #26 has been only applied to 'hydro' and 'master' branches. You should cherry-pick the commits and apply them to you groovy clone to fix it.
c/c++ debug problem, try put "debug.hh" before "allocator.hh" in file "TooN.h".
thanks for your advise @lguodongustc
that works!! great! thanks for your advise @lguodongustc
/home/lesire/work/r2d2/ardrone_ws/build/thirdparty/src/thirdparty/TooN/include/TooN/internal/allocator.hh:68:33: error: ‘debug_initialize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] debug_initialize(my_data, Size); ^