Bladeren bron

minor modifications for matio-related programs

Alexander Freytag 12 jaren geleden
bovenliggende
commit
e1acb0c91d

+ 3 - 1
progs/testImageNetBinary.cpp

@@ -5,6 +5,8 @@
 * @date 23-05-2012 (dd-mm-yyyy)
 
 */
+#include <iostream>
+
 #include "core/basics/Config.h"
 
 #ifdef NICE_USELIB_MATIO
@@ -152,7 +154,7 @@ int main (int argc, char **argv)
 #else
 int main (int argc, char **argv)
 {
-  
+  std::cerr << "MatIO library is missing in your system - this program will have no effect. " << std::endl;  
 }
 
 #endif

+ 2 - 1
progs/testImageNetBinaryBruteForce.cpp

@@ -9,6 +9,7 @@
 
 #include <ctime>
 #include <time.h>
+#include <iostream>
 
 #ifdef NICE_USELIB_MATIO
 
@@ -1799,7 +1800,7 @@ int main (int argc, char **argv)
 #else
 int main (int argc, char **argv)
 {
-  
+  std::cerr << "MatIO library is missing in your system - this program will have no effect. " << std::endl;  
 }
 
 #endif

+ 4 - 1
progs/testImageNetBinaryGPBaseline.cpp

@@ -5,6 +5,9 @@
 * @date 29-05-2012 (dd-mm-yyyy)
 
 */
+
+#include <iostream>
+
 #include "core/basics/Config.h"
 
 #ifdef NICE_USELIB_MATIO
@@ -285,7 +288,7 @@ int main (int argc, char **argv)
 #else
 int main (int argc, char **argv)
 {
-  
+  std::cerr << "MatIO library is missing in your system - this program will have no effect. " << std::endl;
 }
 
 #endif

+ 2 - 1
progs/testNullSpaceNovelty.cpp

@@ -7,6 +7,7 @@
 
 #include <ctime>
 #include <time.h>
+#include <iostream>
 
 #ifdef NICE_USELIB_MATIO
 
@@ -278,7 +279,7 @@ int main (int argc, char **argv)
 #else
 int main (int argc, char **argv)
 {
-  
+  std::cerr << "MatIO library is missing in your system - this program will have no effect. " << std::endl;
 }
 
 #endif