yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10485
[Bug 1282634] [NEW] Fails to build from yade/trunk
Public bug reported:
Hi, I git clone git@xxxxxxxxxx:yade/trunk.git, then make install, the
compiler complains:
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/common/Wall.cpp.o
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/common/PyRunner.cpp.o
[ 31%] Building CXX object CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o
In file included from /home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.cpp:3:0:
/home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.hpp:91:2: error: a class-key must be used when declaring a friend
/home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.hpp:91:2: error: friend declaration does not name a class or function
make[2]: *** [CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o] Error 1
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
make: *** [all] Error 2
** Affects: yade
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1282634
Title:
Fails to build from yade/trunk
Status in Yet Another Dynamic Engine:
New
Bug description:
Hi, I git clone git@xxxxxxxxxx:yade/trunk.git, then make install, the
compiler complains:
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/common/Wall.cpp.o
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/common/PyRunner.cpp.o
[ 31%] Building CXX object CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o
In file included from /home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.cpp:3:0:
/home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.hpp:91:2: error: a class-key must be used when declaring a friend
/home/3S-LAB/cyuan/master/trunk/pkg/common/InsertionSortCollider.hpp:91:2: error: friend declaration does not name a class or function
make[2]: *** [CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o] Error 1
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
make: *** [all] Error 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1282634/+subscriptions
Follow ups
References