Fix compile bug in Linux.

1.3
Micooz 10 years ago
parent 1e99b0307a
commit 83f7b97f9e

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8)
project (EasyPR)
@ -8,8 +8,6 @@ find_package(OpenCV REQUIRED)
set(CMAKE_SOURCE_DIR ./src)
include_directories(${CMAKE_SOURCE_DIR}/include/)
set(SOURCE_FILES
src/main.cpp
src/core/core_func.cpp

@ -5,11 +5,8 @@
#include <windows.h>
#include <io.h>
#elif defined(linux) || defined(__linux__)
//#include <sys/io.h>
//#include <sys/stat.h>
//#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <time.h>
#include <cstring>
#elif defined(__APPLE__)
#include <sys/stat.h>

Loading…
Cancel
Save