Page 1 of 1

[SOLVED] Building IM for Windows

Posted: 2013-07-09T14:08:44-07:00
by degot
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

Re: [SOLVED] Building IM for Windows

Posted: 2013-07-09T14:49:42-07:00
by dlemstra
You should use the setting: C/C++ -> Language -> Open MP Support