fatal error LNK1181: cannot open input file...

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
OneIron1
Posts: 1
Joined: 2015-04-30T08:24:01-07:00
Authentication code: 6789

fatal error LNK1181: cannot open input file...

Post by OneIron1 »

I'm trying to rebuild from source...

OS: Windows 7 sp1 Professional 64Bit
C++ Enviroment: Visual Studio 2013 x64 debug build

receiving the following:

fatal error LNK1181: cannot open input file '..\Debug\DynamicMT-x64\CORE_webp\alpha.obj'

One thing I've noticed is that there are two alpha.c files...

Anyone else experiencing this and is there a solution?
rbar
Posts: 2
Joined: 2015-05-15T00:31:51-07:00
Authentication code: 6789

Re: fatal error LNK1181: cannot open input file...

Post by rbar »

I have the same problem.

OS: Windows 7 sp1 Professional 64Bit
C++ Enviroment: Visual Studio 2013 x64 debug build

Any ideas?
rbar
Posts: 2
Joined: 2015-05-15T00:31:51-07:00
Authentication code: 6789

Re: fatal error LNK1181: cannot open input file...

Post by rbar »

Ok. Got it.

In "ImageMagickObject_.h" I had to set the WINVER tp 0x0500 and some old MFC lib was missing. I got it from here: https://www.microsoft.com/en-us/downloa ... x?id=40770.

Unfortunately that's not all:
Adding two include directories was necessary: <ImageMagick-dist>\Magick++\lib and <ImageMagick-dist>.
And finally all 28 libraries of the directory <ImageMagick-dist>\VisualMagick\lib had to be added to my project.
Not very comfortable. But for now it works.
Post Reply