Re: Visual Studio 2005: linker error caused by unnecessary(?) dependence on 'dxguid.lib'

Bob Friesenhahn <[email protected]> Wed, 16 Jan 2008 09:25:17 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Wed, 16 Jan 2008, Dr. Matthias St.Pierre wrote:
> When building VisualDynamicMT the linker complains about the missing DirectX
> library 'dxguid.lib'. After removing this dependency from all the
> vcproj-Files the solution compiles successfully. So probably this dependency
> is not needed at all and the configure program can be changed such that it
> does not add this dependency anymore?

Thanks for the feedback.  I noticed this annoying dependency myself. 
It used to be that this library was small and readily available but 
now it requires downloading a large SDK.  I will get rid of the 
dependency.

Removing the dependency seems as simple as editing 
VisualMagick/configure.cpp and commenting out the line that looks 
like:

   lib_shared_list.push_back("dxguid.lib");

Then the configure program needs to be re-built.

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/