Vcpkg: [graphicsmagick] Also build Magick++

Created on 19 Jan 2020  路  6Comments  路  Source: microsoft/vcpkg

Is your feature request related to a problem? Please describe.
Currently vcpkg compiles GraphicsMagick and properly installs its headers and Magick++ headers, but doesn't compile Magick++ itself.

Proposed solution
Build Magick++ as a feature of package GraphicsMagick

Describe alternatives you've considered
The alternatives are dark: either use (partially broken) Conan recipe, or compile it yourself (which is very painful as upstream library heavy sits on Autotools or on "VisualMagick" C++ tool)

Additional context
Right now simple example with Magick++ doesn't compile:
image
This screen is from my test project https://github.com/leha-bot/kind-of-magick . Garbled text tells us that there are unresolved external symbols which available in Magick++ lib. Also this garbled text have been reported as a bug in msbuild by me.

Thank you for your work and project!

port-bug more-information

Most helpful comment

Port author here. Magick++ is built and included in the port. I manually test the build with a Magick++ based application. See attached.
gm.zip

All 6 comments

Port author here. Magick++ is built and included in the port. I manually test the build with a Magick++ based application. See attached.
gm.zip

@josuegomes So, that's expected?

OP's problem is something else. It's likely a static/dynamic mismatch. Since Magick++ is already included this issue can be closed.

@josuegomes Thanks for reply.

Hi @leha-bot, I cannot reproduce your problem on my computer using the project file you provided.
So, please provide the Visual Studio version and the triplet you are using.

Thanks.

We don't have enough information to solve this issue, unfortunately; if you have any more information to help us solve this, please reopen!

Was this page helpful?
0 / 5 - 0 ratings