View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000182 | openvibe | patch submission | public | 2016-09-11 14:28 | 2016-10-04 16:54 |
|
Reporter | floesche | |
Assigned To | jtlindgr | |
Priority | low | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | x86_64 | OS | Linux | OS Version | other |
|
Summary | 0000182: compile "Error 2" on Arch Linux |
Description | Compiling showed an "Error 2" on ovtkMatrix.cpp. The trivial fix is to add isnan and isinf for TARGET_OS_Linux |
Tags | No tags attached. |
|
Attached Files | 0001-fix-compile-Error-2-on-Linux.patch [^] (858 bytes) 2016-09-11 14:28 [Show Content] [Hide Content]From 16cbe79b148b63f5d591ea34605f688d534070bf Mon Sep 17 00:00:00 2001
From: Frank Loesche <Frank.Loesche@Plymouth.ac.uk>
Date: Sun, 11 Sep 2016 13:21:54 +0100
Subject: [PATCH] fix compile "Error 2" on Linux
compiling on Arch Linux showed an "Error 2" during the compile of
ovtkMatrix.cpp. Defining isnan and isinf for target linux solves the
problem.
---
toolkit/src/tools/ovtkMatrix.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/toolkit/src/tools/ovtkMatrix.cpp b/toolkit/src/tools/ovtkMatrix.cpp
index 913f002..1b54755 100644
--- a/toolkit/src/tools/ovtkMatrix.cpp
+++ b/toolkit/src/tools/ovtkMatrix.cpp
@@ -21,6 +21,9 @@
#elif defined TARGET_OS_MacOS
#define isnan std::isnan
#define isinf std::isinf
+#elif defined TARGET_OS_Linux
+ #define isnan std::isnan
+ #define isinf std::isinf
#endif
using namespace OpenViBE;
--
2.9.3
|
|