Page 1 of 1
Compiling Magick++ without Visual Studio?
Posted: 2019-09-18T18:37:13-07:00
by dan9er
I'm setting up a programming environment on my Windows 10 machine. I prefer to use Atom and I don't want to install Visual Studio just to compile Magick++.
I have CMake (from their site), Make (from GnuWin32) and CLang (from LLVM). All have been added to PATH.
I also have a Ubuntu machine with CLang on it, and I heard CLang can compile for different platforms.
Re: Compiling Magick++ without Visual Studio?
Posted: 2019-09-25T14:23:03-07:00
by dan9er
Sorry about my asinine question! I now know that VS Build Tools are required to build with Windows. However, let me rephrase my question:
How to compile Magick++ using Ninja? I have the VS Build Tools installed but not VS itself, since I perfer Atom.
Re: Compiling Magick++ without Visual Studio?
Posted: 2019-09-25T14:55:46-07:00
by snibgo
VS Build Tools are
not required to build IM on Windows. I use GNU CPP tools on Windows 8.1, and building is simple. The Windows IM source download contains commonly-desired delegates. See
Compiling IM with Cygwin.
Windows 10 can come with a version of bash. I don't know if that includes GNU tools, or equivalent.
I have no idea what Ninja or Atom are.
Re: Compiling Magick++ without Visual Studio?
Posted: 2019-09-25T18:49:52-07:00
by dan9er
snibgo wrote: ↑2019-09-25T14:55:46-07:00
VS Build Tools are
not required to build IM on Windows. I use GNU CPP tools on Windows 8.1, and building is simple. The Windows IM source download contains commonly-desired delegates. See
Compiling IM with Cygwin.
Windows 10 can come with a version of bash. I don't know if that includes GNU tools, or equivalent.
I have no idea what Ninja or Atom are.
- I don't have Cygwin, and I want to avoid installing it unless I absolutely have to.
- I have mingw32 make v3.81 installed separately, but isn't that for building for Linux?
- Ninja is another build system: https://ninja-build.org/
- Atom is a modular code editor by GitHub, and isn't relevant here.
Re: Compiling Magick++ without Visual Studio?
Posted: 2019-09-27T18:36:04-07:00
by dan9er
Bump. Still need a solution.
Re: Compiling Magick++ without Visual Studio?
Posted: 2019-09-30T18:52:52-07:00
by dan9er
Bump. I'm gonna try asking over in Stack Overflow as well...
Re: Compiling Magick++ without Visual Studio?
Posted: 2019-10-12T10:15:17-07:00
by dan9er
Small update: I have managed to compile ImageMagick using `msbuild.exe`, however I'm getting issues building programs with it so I don't know if I did so successfully.
Once I get it working with no issues I'll post steps here and mark this thread as solved.