[SOLVED] Building IM for Windows
Posted: 2013-07-09T14:08:44-07:00
Hello,
I've downloaded IM src and successfully build convert.exe for Windows.
The is only one problem, it is single threaded.
I've check source code and found ,that for OpenMP support , _OPENMP should be defined.
Question is : Should I define _OPENMP or MAGICKCORE_WINDOWS_SUPPORT or both or anything else to enable multi threading ?
[Solution]
To enable multi-threading, you need to :
1. Enable OpenMP support for CORE_magick , CORE_wand
2. Add _OPENMP to C++ -> Preprocessor -> Preporcessor Definitions
I've downloaded IM src and successfully build convert.exe for Windows.
The is only one problem, it is single threaded.
I've check source code and found ,that for OpenMP support , _OPENMP should be defined.
Question is : Should I define _OPENMP or MAGICKCORE_WINDOWS_SUPPORT or both or anything else to enable multi threading ?
[Solution]
To enable multi-threading, you need to :
1. Enable OpenMP support for CORE_magick , CORE_wand
2. Add _OPENMP to C++ -> Preprocessor -> Preporcessor Definitions