From 75a25c5e60784ac4a87950e2b1c2b506f4d7b17b Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 29 Jun 2017 17:52:42 +0000
Subject: [PATCH] For the console-app that uses DLL changed: MT-Debug-DLL (/MDd) to MT-DLL (/MD)
---
src/art.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/art.c b/src/art.c
index 785ab52..66cef5a 100644
--- a/src/art.c
+++ b/src/art.c
@@ -4,10 +4,14 @@
#include "option_list.h"
#include "blas.h"
#include "classifier.h"
-#include <sys/time.h>
+//#include <sys/time.h>
+#include <time.h>
+#include <winsock.h>
+#include "gettimeofday.h"
#ifdef OPENCV
#include "opencv2/highgui/highgui_c.h"
+image get_image_from_stream(CvCapture *cap);
#endif
@@ -53,7 +57,7 @@
printf("[");
int upper = 30;
for(i = 0; i < upper; ++i){
- printf("%s", ((i+.5) < score*upper) ? "\u2588" : " ");
+ printf("%c", ((i+.5) < score*upper) ? 219 : ' ');
}
printf("]\n");
--
Gitblit v1.10.0