overte-lubosz/tests/physics/src
Aleric Inglewood 147a4119cb Fix linker problem
This fixes the linker problem:

/usr/bin/ld: error: ../../libraries/shared/libshared.a(StreamUtils.cpp.o): multiple
definition of 'operator<<(std::ostream&, glm::detail::tvec3<float, (glm::precision)0> const&)'
/usr/bin/ld: CMakeFiles/physics-tests.dir/src/PhysicsTestUtil.cpp.o: previous definition here
/usr/bin/ld: error: ../../libraries/shared/libshared.a(StreamUtils.cpp.o): multiple
definition of 'operator<<(std::ostream&, glm::detail::tquat<float, (glm::precision)0> const&)'
/usr/bin/ld: CMakeFiles/physics-tests.dir/src/PhysicsTestUtil.cpp.o: previous definition here
/usr/bin/ld: error: ../../libraries/shared/libshared.a(StreamUtils.cpp.o): multiple
definition of 'operator<<(std::ostream&, glm::detail::tmat4x4<float, (glm::precision)0> const&)'
/usr/bin/ld: CMakeFiles/physics-tests.dir/src/PhysicsTestUtil.cpp.o: previous definition here
collect2: error: ld returned 1 exit status

Note these are the serializers to std::ostream that were already there, not the ones
that I added (which are to QDebug). This bug was already there, I only got these errors
now after adding some debug code.

The reason is obvious: they are already defined in libshared.a (through StreamUtils.cpp).
No need to define them again in ./tests/physics/src/PhysicsTestUtil.cpp
2014-07-13 21:59:45 +02:00
..
CollisionInfoTests.cpp fix headers in h files in tests, fix Andrew's dates 2014-04-09 09:49:47 -07:00
CollisionInfoTests.h fix header include guards via regex 2014-04-09 12:03:17 -07:00
main.cpp unit tests for VerletShapes 2014-06-18 14:06:00 -07:00
PhysicsTestUtil.cpp Fix linker problem 2014-07-13 21:59:45 +02:00
PhysicsTestUtil.h Fix linker problem 2014-07-13 21:59:45 +02:00
ShapeColliderTests.cpp fixed some windows warnings 2014-06-24 20:07:47 -07:00
ShapeColliderTests.h Add unit tests for ray intersections with shapes. 2014-06-17 10:49:53 -07:00
VerletShapeTests.cpp collisions update shapes 2014-06-20 16:31:39 -07:00
VerletShapeTests.h forgot to add the test files 2014-06-18 14:47:39 -07:00