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.
Compiling Magick++ without Visual Studio?
Re: Compiling Magick++ without Visual Studio?
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.
How to compile Magick++ using Ninja? I have the VS Build Tools installed but not VS itself, since I perfer Atom.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Compiling Magick++ without Visual Studio?
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.
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.
snibgo's IM pages: im.snibgo.com
Re: Compiling Magick++ without Visual Studio?
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?
Bump. Still need a solution.
Re: Compiling Magick++ without Visual Studio?
Bump. I'm gonna try asking over in Stack Overflow as well...
Re: Compiling Magick++ without Visual Studio?
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.
Once I get it working with no issues I'll post steps here and mark this thread as solved.