I'm working on an academic research, implementing new search algorithms, based on Fast-Downward, a c++ open source that implement several Search Algorithms and many search domains and problems. Also installed Lab, a Python package that manage the compilation and the run scripting.
Recently I tried to include OpenCV library for its ML algorithms, in order to integrate those algorithms in my search algorithm.
But I encouraged some problems when including some libs in my FD project, and could not compile OpenCV with FD.
Project hierarchy:
fast_downward
| -- benchmarks
| -- experiments
| -- lab
| -- misc
| -- src
| | -- preprocess
| | -- search
| | -- translate
| | -- VAL
| | -- ML
The ML directory is the new sub-directory I want to compile.
compilation attempt:
under src/CMakeLists.txt
:
include(ML/CMakeLists.txt)
add_subdirectory(ML)
but the compilation failed.
To be honest, I've never tried to edit a CMake
file, and I don't know the strategy and how to do that.
So, my question is How to integrate an OpenCV package/sub-folder (in my project called ML) in my main project?
EDIT:
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04