To compile the latest unity version (5.0), you need the latest nux
version (2.0).
Try:
$ bzr branch lp:nux
$ cd nux
$ ./autogen --prefix=/opt/unity
$ make -j4 && sudo make install
After that, export the paths:
$ export PKG_CONFIG_PATH=/opt/unity/lib/pkgconfig:${PKG_CONFIG_PATH}
$ export LD_LIBRARY_PATH=/opt/unity/lib:${LD_LIBRARY_PATH}
$ export LD_RUN_PATH=/opt/unity/lib:${LD_RUN_PATH}
And try to compile unity again. More details here:
http://askubuntu.com/questions/28470/how-do-i-build-unity-from-source/28472#28472
Em 07-11-2011 11:38, staticd escreveu:
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.
_______________________________________________
Mailing list: https://launchpad.net/~ayatana-dev
Post to : ayatana-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ayatana-dev
More help : https://help.launchpad.net/ListHelp
|