Build Issue - Windows #4598
Replies: 4 comments 2 replies
-
What page? Please always paste the URL of any pages you cite. I know nothing about Visual Studio, but you seem to be building a debug version. From comments I have seen on these forums, it might work better if you didn't choose a debug configuration. |
Beta Was this translation helpful? Give feedback.
-
I did not realize I was building a debug version! I used the following pages to attempt to build ImageMagick. I selected the multithreaded build as the first page recommends. |
Beta Was this translation helpful? Give feedback.
-
I think "DB" in your filenames indicate a debug configuration. But I could be wrong. I have no experience with Visual Studio (I use Cygwin tools). |
Beta Was this translation helpful? Give feedback.
-
That seems to be the same as a problem I had. See my "issues" report at #4638 , and my workaround. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm attempting to build ImageMagick on my Windows 10 laptop so I can use the -fft command. After going through the configuration step and generating a project for visual studio, I go ahead and attempt to run the build command. It works for a bit and then encounters the following fatal errors.
22>LINK : fatal error LNK1181: cannot open input file 'C:\Users\NicolasKrause\Documents\ImageMagick-Windows-7\VisualMagick\lib\CORE_DB_MagickCore_.lib' 24>LINK : fatal error LNK1181: cannot open input file 'C:\Users\NicolasKrause\Documents\ImageMagick-Windows-7\VisualMagick\lib\CORE_DB_MagickCore_.lib' 23>LINK : fatal error LNK1181: cannot open input file 'C:\Users\NicolasKrause\Documents\ImageMagick-Windows-7\VisualMagick\lib\CORE_DB_MagickCore_.lib' 24>Done building project "FUZZ_encoder_label_fuzzer_StaticMTD.vcxproj" -- FAILED. 26>LINK : fatal error LNK1181: cannot open input file 'C:\Users\NicolasKrause\Documents\ImageMagick-Windows-7\VisualMagick\lib\CORE_DB_MagickCore_.lib' 25>LINK : fatal error LNK1181: cannot open input file 'C:\Users\NicolasKrause\Documents\ImageMagick-Windows-7\VisualMagick\lib\CORE_DB_MagickCore_.lib' 22>Done building project "FUZZ_encoder_plasma_fuzzer_StaticMTD.vcxproj" -- FAILED. 23>Done building project "FUZZ_encoder_pattern_fuzzer_StaticMTD.vcxproj" -- FAILED. 25>Done building project "FUZZ_encoder_gradient_fuzzer_StaticMTD.vcxproj" -- FAILED. 26>Done building project "FUZZ_encoder_fuzzer_StaticMTD.vcxproj" -- FAILED. 13>Done building project "UTIL_magick_StaticMTD.vcxproj" -- FAILED. 18>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1087,5): error MSB6006: "link.exe" exited with code 1181. 18>LINK : fatal error LNK1181: cannot open input file 'C:\Users\NicolasKrause\Documents\ImageMagick-Windows-7\VisualMagick\lib\CORE_DB_MagickCore_.lib' 18>Done building project "FUZZ_huffman_decode_fuzzer_StaticMTD.vcxproj" -- FAILED. 27>LINK : fatal error LNK1181: cannot open input file 'C:\Users\NicolasKrause\Documents\ImageMagick-Windows-7\VisualMagick\lib\CORE_DB_MagickCore_.lib' 27>Done building project "FUZZ_crop_fuzzer_StaticMTD.vcxproj" -- FAILED.
In particular it appears unable to find the CORE_DB_MagickCore_.lib, the file is not present in the specified folder, but all I did was setup the standard git clone as the instructions on the ImageMagick website say you should, so I'm not too sure where I've gone wrong.
Beta Was this translation helpful? Give feedback.
All reactions