Commit 109860a7 authored by jaco's avatar jaco

linux - mac compiling error/warning fixed

parent ccde01a6
......@@ -96,7 +96,7 @@ Mat CmShow::HistBins(CMat& color3f, CMat& val, CStr& title, bool descendShow, CM
return showImg3b;
}
void CmShow::showTinyMat(CStr &title, CMat &m)
/* void CmShow::showTinyMat(CStr &title, CMat &m)
{
int scale = 50, sz = m.rows * m.cols;
while (sz > 200){
......@@ -122,4 +122,4 @@ void CmShow::SaveShow(CMat& img, CStr& title)
imwrite(String(title.c_str()), img*scale);
else if (title.size())
imshow(String(title.c_str()), img);
}
} */
......@@ -52,7 +52,7 @@
#include <cmath>
#include <time.h>
#include <fstream>
#include <omp.h>
//#include <omp.h>
// TODO: reference additional headers your program requires here
//#include "LibLinear/linear.h"
......@@ -66,9 +66,9 @@
#define cvLIB(name) "opencv_" name CV_VERSION_ID
#endif
#pragma comment( lib, cvLIB("core"))
#pragma comment( lib, cvLIB("imgproc"))
#pragma comment( lib, cvLIB("highgui"))
//#pragma comment( lib, cvLIB("core"))
//#pragma comment( lib, cvLIB("imgproc"))
//#pragma comment( lib, cvLIB("highgui"))
using namespace cv;
using namespace std;
#ifdef WIN32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment