I upgraded to the 13.04 daily build, and was able to get NUX compilation working.
Still no luck building Unity, though. I'm still following the official instructions here: http://unity.ubuntu.com/getinvolved/development/unity/
It seems odd to me to pull both the trunk for both Unity and NUX as instructed. Right now the unity build fails because the NUX api is different than expected:
Code:
/home/davidkrauser/Workspace/unity/trunk/dash/DashController.cpp: In constructor ‘unity::dash::Controller::Controller(const WindowCreator&)’:
/home/davidkrauser/Workspace/unity/trunk/dash/DashController.cpp:71:26: error: no matching function for call to ‘nux::animation::AnimateValue<double>::AnimateValue(int)’
/home/davidkrauser/Workspace/unity/trunk/dash/DashController.cpp:71:26: note: candidates are:
In file included from /usr/include/Nux-4.0/NuxCore/Animation.h:114:0,
from /home/davidkrauser/Workspace/unity/trunk/dash/DashController.h:27,
from /home/davidkrauser/Workspace/unity/trunk/dash/DashController.cpp:20:
/usr/include/Nux-4.0/NuxCore/Animation-inl.h:41:1: note: nux::animation::AnimateValue<VALUE_TYPE>::AnimateValue(const VALUE_TYPE&, const VALUE_TYPE&, int) [with VALUE_TYPE = double]
/usr/include/Nux-4.0/NuxCore/Animation-inl.h:41:1: note: candidate expects 3 arguments, 1 provided
/usr/include/Nux-4.0/NuxCore/Animation-inl.h:31:1: note: nux::animation::AnimateValue<VALUE_TYPE>::AnimateValue() [with VALUE_TYPE = double]
/usr/include/Nux-4.0/NuxCore/Animation-inl.h:31:1: note: candidate expects 0 arguments, 1 provided
make[2]: *** [dash/CMakeFiles/dash-lib.dir/DashController.cpp.o] Error 1
make[1]: *** [dash/CMakeFiles/dash-lib.dir/all] Error 2
make: *** [all] Error 2
Anyone know of a workaround for this?
Bookmarks