[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
Posts: 1
Joined: 2013-07-09T13:48:38-07:00
Authentication code: 6789

[SOLVED] Building IM for Windows

Post by degot »

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 ?

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

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