← Back to team overview

unity-dev team mailing list archive

Building Unity from Source

 

Hey Everyone,

I'm trying to build Unity from source in 13.04 using the instructions
supplied here:

http://unity.ubuntu.com/getinvolved/development/unity/

NUX builds fine, but the Unity build fails because the NUX api is different
than expected:

/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 specific version of NUX that works with Unity's trunk? Or
some other work around.

I also posted about this in the Ubuntu Forums, if you'd like to see more
details:

http://ubuntuforums.org/showthread.php?t=2102641

Thanks for your help,

David Krauser