Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cmake cross platform Execution Problems?

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:?

Image Representation of the problem while executing the code in windows, shows unix is here

Cmake cross platform Execution Problems?

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:?

Image Representation of the problem while executing the code in windows, shows unix is here

Cmake cross platform Execution Problems?

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:?

Image Representation of the problem while executing the code in windows, shows unix is here

Cmake cross platform Execution Problems?

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:?

Image=Image Representation of the problem while executing the code in windows, shows unix is here

Cmake cross platform Execution Problems?

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:?

Image=Image Representation of the problem while executing the code in windows, shows unix is hereDifference in CMakeFiles.txt when in windows, thus linux macros are checked in