[solved] Trouble building 6.9.4-10 VS2013

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

[solved] Trouble building 6.9.4-10 VS2013

Post by dez »

CUSTOMBUILD : fatal error A1000: cannot open file : "jsimdext.inc" [C:\third_party\sandbox\ImageMagick-win32-6.9.4-10\VisualMagick\jpeg\CORE_jpeg_DynamicMT.vcxproj]


I keep getting that over and over. I have tried doing a clean, etc. But it never gets past that point.
Last edited by dez on 2016-06-23T13:12:14-07:00, edited 1 time in total.
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

Re: Trouble building 6.9.4-10 VS2013

Post by dez »

The jsimdext.inc file does exist in C:\third_party\sandbox\ImageMagick-win32-6.9.4-10\jpeg\simd. Not sure why the build can't find it.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Trouble building 6.9.4-10 VS2013

Post by fmw42 »

I do not know much about Windows installs, but might you have built a 64-bit VS for a 32-bit IM or vice-versa?
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

Re: Trouble building 6.9.4-10 VS2013

Post by dez »

The machine I am building on is windows 7 32 bit. And the logs show Configuration Release Win32. I have tried to build with the GUI as well.

Command line I am using:
MSBuild VisualDynamicMT.sln /target:Clean /property:Configuration=Release
MSBuild VisualDynamicMT.sln /property:Configuration=Release
Last edited by dez on 2016-06-23T12:02:51-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Trouble building 6.9.4-10 VS2013

Post by fmw42 »

But is your VS 64-bit or 32-bit? Sorry, I don't know more to help. One of the Windows users will like have to help further. Just checking one of the more obvious possible issues.
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

Re: Trouble building 6.9.4-10 VS2013

Post by dez »

It has to be 32 bit. I cannot run 64 bit software on 32bit windows.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Trouble building 6.9.4-10 VS2013

Post by fmw42 »

Yes, I understand. I was just checking to be sure that you download and are using a 32bit VS
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

Re: Trouble building 6.9.4-10 VS2013

Post by dez »

for what it's worth, -1 built just fine. -9 also had this issue, but I noticed that -10 had been released, so thought to try it instead. I don't know where to find the windows versions of the build source for 6.9.4-2 through 6.9.4-8 so I cannot say when the error was introduced.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Trouble building 6.9.4-10 VS2013

Post by fmw42 »

IM only archives source versions x.x.x-10. You might find them elsewhere.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Trouble building 6.9.4-10 VS2013

Post by fmw42 »

One of the IM developers or Windows users will need to help further.
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

Re: Trouble building 6.9.4-10 VS2013

Post by dez »

Yep. I agree. I have tried searching for intermediate bundles, but can only find the unix source for those (via the git repo's tagged release). But since none of those bundles contain the VisualMagick directory, I am stuck (unless I can just copy the one from -10 over... *shrug*).
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Trouble building 6.9.4-10 VS2013

Post by dlemstra »

You can clone the repository that we use to build the Windows version of IM from here: http://git.imagemagick.org/repos/ImageM ... indows.git (also available on github if you prefer that). You will need to switch to the ImageMagick-Windows-6 branch if you want IM6 instead of IM7. Then you need to run CloneRepositories.cmd that will clone all the repositories that are required to build the Windows binaries. To make sure you use the latest version of configure you should rebuild VisualMagick\configure\configure.sln. Then run configure.exe to create the new solution files that you can use to build ImageMagick.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

Re: Trouble building 6.9.4-10 VS2013

Post by dez »

Thanks dlemstra. Simply deleting the configure.exe and rebuilding (after converting the project to vs2013) fixed the issue. First time in a long while the configure.exe that comes in the bundle didn't work for me.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: [solved] Trouble building 6.9.4-10 VS2013

Post by dlemstra »

We haven't build it for a while and I am considering to remove it from our repository and force a 'manual build'.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
dez
Posts: 15
Joined: 2013-05-02T10:52:09-07:00
Authentication code: 6789

Re: [solved] Trouble building 6.9.4-10 VS2013

Post by dez »

Now is a good time to do that, since it doesn't work (at least on the 6.xx version). Thanks for reminding me to follow instructions. 8)
Post Reply