

- Boost cmake install windows how to#
- Boost cmake install windows 64 Bit#
- Boost cmake install windows archive#
From this step, all commands would be executed through CMD unless otherwise noted. Open CMD and change directory to source folder of opencv.
Boost cmake install windows archive#
Boost cmake install windows how to#
(There are tons of guides of how to do this) Append the path to “bin” folder into the PATH variable.Control Panel -> System -> Advanced System settings -> Environment Variables -> system variables -> choose Path and click Edit.Once the installation is complete, navigate to the install location and look for “bin” folder.Exception – seh (I didn’t do much research here, just kept first available option.Threads – Win32 (Some recommend POSIX over Win32, However openCV build failed with mysterious problems with POSIX threads).
Boost cmake install windows 64 Bit#

Next, I wanted to avoid the dependency of Visual Studio for the matter. So I gave a try for gcc on windows! Objectivesįirst I wanted to see if c++ building on windows with relative ease is possible. First attempt was done with VS 2013, but compilation failed with a bug of VS c++ compiler related to c++ template classes and getting a later version was taking time.

Therefore the only consideration was running the CMake script in windows, using Visual Studio or GCC (via MinGW). For example, file handling was done via Boost Filesystem and so on. For ease of configuration I employed CMake.ĭespite the target being Windows, I was developing and testing everything under GNU/Linux 😛, fortunately I managed to write the code with minimal amount of native unix API calls. The project was written in c++ and used OpenCV and Boost libraries. For a project I’ve been working on, the need came to build the program to run on Windows OS.
