From 5d9ab6e6c0957dba7732a9cee0783bdc2ed32ada Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Thu, 14 Apr 2016 10:48:20 -0500 Subject: [PATCH] Create the conversions between quaternion and Euler angles Test compilation requires -lpthread on Ubuntu. Also added a .gitignore for the test executable and object code files. refs #216 --- trick_source/trick_utils/math/test/.gitignore | 2 ++ trick_source/trick_utils/math/test/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 trick_source/trick_utils/math/test/.gitignore diff --git a/trick_source/trick_utils/math/test/.gitignore b/trick_source/trick_utils/math/test/.gitignore new file mode 100644 index 00000000..948bbb91 --- /dev/null +++ b/trick_source/trick_utils/math/test/.gitignore @@ -0,0 +1,2 @@ +UnitTestEulerQuat +*.o diff --git a/trick_source/trick_utils/math/test/Makefile b/trick_source/trick_utils/math/test/Makefile index 5004f3a2..f7e5d555 100644 --- a/trick_source/trick_utils/math/test/Makefile +++ b/trick_source/trick_utils/math/test/Makefile @@ -11,7 +11,7 @@ include ${TRICK_HOME}/share/trick/makefiles/Makefile.common TRICK_CPPFLAGS += -I${GTEST_HOME}/include -I$(TRICK_HOME)/include -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0 TRICK_LIBS = ${TRICK_LIB_DIR}/libtrick_math.a -TRICK_EXEC_LINK_LIBS += ${GTEST_HOME}/lib/libgtest.a ${GTEST_HOME}/lib/libgtest_main.a +TRICK_EXEC_LINK_LIBS += ${GTEST_HOME}/lib/libgtest.a ${GTEST_HOME}/lib/libgtest_main.a -lpthread TRICK_EXEC_LINK_LIBS += -lm