[SOLVED] Building IM for Windows

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
degot
Posts: 1
Joined: 2013-07-09T13:48:38-07:00
Authentication code: 6789

[SOLVED] Building IM for Windows

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: [SOLVED] Building IM for Windows

Post by dlemstra »

You should use the setting: C/C++ -> Language -> Open MP Support
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply