← Back to team overview

unity-dev team mailing list archive

[Ayatana-dev] =?windows-1252?q?help_compiling_unity=3A_error_=91n?= =?windows-1252?q?ux=3A=3AButtonVisualState=92_has_not_been_declare?= =?windows-1252?q?d?=

 

Sorry to bug you guys with the noob question, but

I've been trying to compile unity from source.(Oneiric, 64bit)
and get an error regarding the nux class

$bzr branch lp:unity
$cd unity; mkdir build; cd build
$sudo apt-get build-dep unity
$cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=package -DCMAKE_INSTALL_PREFIX=/opt/unity

at this stage it gave errors about missing dependencies gdu and gtest which i installed from synaptic. after which rerunning cmake gave no errors

$make
.
.
.
 Building CXX object tests/CMakeFiles/standalone-dash.dir/standalone_dash.cpp.o
In file included from /home/user/unity/tests/standalone_dash.cpp:33:0:
/home/user/unity/tests/../plugins/unityshell/src/DashStyle.h:83:41: error: ‘nux::ButtonVisualState’ has not been declared

Any pointers would be appreciated.
Thanks.


Follow ups