Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 135

Cmake cross platform Execution Problems?

$
0
0
I've downloaded the opencv code from the github and executed the code using VisualStudio2012. There was no problem. I tested with some sample program execution, it works fine. With the same OpenCv code, i executed that in linux and also with some sample programs, it work's fine. Now when i again build the same opencv code in the windows, the macros related to linux were checked on, windows related macros were checked out. Thus, resulting in the build failed. I checked with the CMakeLists.txt, it shows UNIX, while executing in windows. How to get rid of this problem:? ![Difference in CMakeFiles.txt when in windows, thus linux macros are checked in](/upfiles/15227436103371923.jpg)

Viewing all articles
Browse latest Browse all 135

Trending Articles