i've done a fork a this project, when I try to compile it (without done any changes) I have some errors, could you help me? :)
I've done a cmake . followed by a make and here is the results:
ubuntuhome:~/Documents/blobby-volley-2$ sudo cmake .
-- Boost version: 1.54.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/me/Documents/blobby-volley-2
ubuntuhome:~/Documents/blobby-volley-2$ sudo make
[ 0%] Built target backgrounds_zip
[ 1%] Built target gfx_zip
[ 2%] Built target scripts_zip
[ 3%] Built target sounds_zip
[ 4%] Building CXX object src/raknet/CMakeFiles/raknet.dir/NetworkIDGenerator.cpp.o
In file included from /home/me/Documents/blobby-volley-2/src/raknet/NetworkIDGenerator.h:37:0,
from /home/me/Documents/blobby-volley-2/src/raknet/NetworkIDGenerator.cpp:32:
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h: In instantiation of ‘void BasicDataStructures::AVLBalancedBinarySearchTree<BinarySearchTreeType>::balance_tree(typename BasicDataStructures::BinarySearchTree<BinarySearchTreeType>::node*, bool) [with BinarySearchTreeType = ObjectIDNode; typename BasicDataStructures::BinarySearchTree<BinarySearchTreeType>::node = BasicDataStructures::BinarySearchTree<ObjectIDNode>::node]’:
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:393:32: required from ‘void BasicDataStructures::AVLBalancedBinarySearchTree<BinarySearchTreeType>::del(const BinarySearchTreeType&) [with BinarySearchTreeType = ObjectIDNode]’
/home/me/Documents/blobby-volley-2/src/raknet/NetworkIDGenerator.cpp:103:52: required from here
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:341:41: error: ‘height’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
left_height = height( current->left );
^
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:341:41: note: declarations in dependent base ‘BasicDataStructures::BinarySearchTree<ObjectIDNode>’ are not found by unqualified lookup
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:341:41: note: use ‘this->height’ instead
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:346:43: error: ‘height’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
right_height = height( current->right );
^
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:346:43: note: declarations in dependent base ‘BasicDataStructures::BinarySearchTree<ObjectIDNode>’ are not found by unqualified lookup
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:346:43: note: use ‘this->height’ instead
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:374:46: error: ‘find_parent’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
current = find_parent( *( current->item ) );
^
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:374:46: note: declarations in dependent base ‘BasicDataStructures::BinarySearchTree<ObjectIDNode>’ are not found by unqualified lookup
/home/me/Documents/blobby-volley-2/src/raknet/BinarySearchTree.h:374:46: note: use ‘this->find_parent’ instead
make[2]: *** [src/raknet/CMakeFiles/raknet.dir/NetworkIDGenerator.cpp.o] Erreur 1
make[1]: *** [src/raknet/CMakeFiles/raknet.dir/all] Erreur 2
make: *** [all] Erreur 2
I'm using ubuntu 14.04 and I have not done C++ since many years!
Hello !
i've done a fork a this project, when I try to compile it (without done any changes) I have some errors, could you help me? :)
I've done a cmake . followed by a make and here is the results:
I'm using ubuntu 14.04 and I have not done C++ since many years!