This project has moved. For the latest updates, please go here.

Visual Studio 2013

Oct 30, 2014 at 2:53 AM
How do I compile from source using VS2013 only?

Steps I did:
  1. Downloaded your sources.
  2. Put GraphicsMagick sources in: GraphicsMagick\Source\GraphicsMagick
  3. Modify: Tools\Scripts\BuildLibraries.ps1
    set PlatformToolset = "v120"
  4. Changed toolset in solutions to VS2013
  5. Run "GraphicsMagick\Source\BuildAll.cmd"
  6. Run "Tools\GenerateFiles.cmd"
I get the following unresolved externals in Step 6:
_WebPConfigInitInternal referenced in function WebPConfigInit
CORE_RL_coders
.lib(webp.obj)
_WebPDecodeRGB referenced in function ReadWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPDecodeRGBA referenced in function ReadWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPEncode referenced in function WriteWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPGetEncoderVersion referenced in function RegisterWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPGetFeaturesInternal referenced in function ReadWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPPictureFree referenced in function WriteWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPPictureImportRGB referenced in function WriteWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPPictureImportRGBA referenced in function WriteWEBPImage
CORE_RL_coders
.lib(webp.obj)
_WebPPictureInitInternal referenced in function WebPPictureInit
CORE_RL_coders
.lib(webp.obj)
WebPValidateConfig referenced in function WriteWEBPImage
CORE_RL_coders
.lib(webp.obj)

It seems WebP routines has been moved.

When I compared "\GraphicsMagick\include\Magick++\Include.h"
from your source vs GraphicsMagick, the following is missing
(in your includes but not in new download)
# if defined(HasWEBP)
# pragma comment(lib, "CORE_RL_webp
.lib")
# endif

Source of GraphicsMagick is 1.3.20.

Thanks,
Coordinator
Oct 30, 2014 at 2:02 PM
I manually added that. The next release of GraphicsMagick will include this, see: http://sourceforge.net/p/graphicsmagick/code/ci/09e8a10a6ce7f92c24ecc23fc5222cb8df637874/ (added after the release of 1.3.20 on 2014-08-17)