From 180626e7d34c70304fd004298c7754c0d67d5bf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20Hern=C3=A0ndez=20Juan?= <shernand@iri.upc.edu>
Date: Wed, 30 May 2012 13:41:57 +0000
Subject: [PATCH] Some minor chnages for the new 10.04 LTS Linux distribution.

---
 src/CMakeLists.txt        | 2 +-
 src/pgr_stereo_camera.cpp | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 81b42fe..a87e384 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,7 +48,7 @@ IF (firewire_ready)
    if (USE_CV) 
       TARGET_LINK_LIBRARIES(firewire ${OpenCV_LIBS} ${iriutils_LIBRARY} ${dc1394_LIBRARY} ${raw1394_LIBRARY})
    else(USE_CV)
-      TARGET_LINK_LIBRARIES(firewire ${iriutils_LIBRARY} ${libdc1394_LIBRARY} ${raw1394_LIBRARY})
+      TARGET_LINK_LIBRARIES(firewire ${iriutils_LIBRARY} ${dc1394_LIBRARY} ${raw1394_LIBRARY})
    endif(USE_CV)
 
    INSTALL(TARGETS firewire
diff --git a/src/pgr_stereo_camera.cpp b/src/pgr_stereo_camera.cpp
index 4ff040c..ff3ff57 100755
--- a/src/pgr_stereo_camera.cpp
+++ b/src/pgr_stereo_camera.cpp
@@ -1,7 +1,9 @@
 #include "pgr_stereo_camera.h"
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <string.h>
 #include <fcntl.h>
+#include <math.h>
 
 CPGRStereoCamera::CPGRStereoCamera(dc1394_t *firewire,uint64_t camera_id):CFirewireCamera(firewire,camera_id)
 {
-- 
GitLab