Page 1 of 1

Compile Problems with Configure

Posted: 2008-11-26T16:00:19-07:00
by cleanfacets
I have Visual Studio 2005, Version 8.0, runing Windows XP.
After installing ImageMagick-windows.zip to the root directory of C: and using the given path names in the zip file, I'm looking at the page:
http://www.imagemagick.org/script/insta ... hp#windows
and following the directions to compile the configure work space.
After the program is compiled (there are several deprecated items) the log says it was successful. When running the program either from Explorer or the DOS prompt, I get:
configure.exe - Application error
The application failed to initialize properly (0xc150004). Click OK to terminate the application.

Without trying to be too verbose, here's the debug from Visual Studio:

Code: Select all

'configure.exe': Loaded 'C:\ImageMagick-6.4.6\VisualMagick\configure\configure.exe', Symbols loaded.
'configure.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'configure.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'configure.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'configure.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'configure.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', No symbols loaded.
SXS: Unable to resolve storage root for assembly directory x86_Microsoft.VC80.DebugMFC_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_257740a4 in 2 tries
SXS: RtlGetAssemblyStorageRoot() unable to resolve storage map entry.  Status = 0xc0150004
SXS: Unable to resolve storage root for assembly directory x86_Microsoft.VC80.DebugMFC_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_257740a4 in 2 tries
SXS: RtlGetAssemblyStorageRoot() unable to resolve storage map entry.  Status = 0xc0150004
SXS: Unable to resolve storage root for assembly directory x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f in 2 tries
SXS: RtlGetAssemblyStorageRoot() unable to resolve storage map entry.  Status = 0xc0150004
SXS: Unable to resolve storage root for assembly directory x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f in 2 tries
SXS: RtlGetAssemblyStorageRoot() unable to resolve storage map entry.  Status = 0xc0150004
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3592] configure.exe: Native' has exited with code -1072365564 (0xc0150004).
Any information would be greatly appreciated:
Thanks,
cleanfacets

Re: Compile Problems with Configure

Posted: 2008-11-26T17:05:32-07:00
by magick
We build ImageMagick x64 with Visual Studio 2005, Version 8.0 and do not have any of the problems you mentioned. Have you applied all the service packs to your Visual Studio distribution?

Re: Compile Problems with Configure

Posted: 2008-12-01T11:12:11-07:00
by cleanfacets
Here's the steps I went through:

Looking at the page:
http://www.imagemagick.org/script/insta ... hp#windows
Instead of compiling 'configure' (which gave me all the errors listed above), I used the executable inside the zip file and it ran ok.
So, after running through the configure wizard I then found:
c:\ImageMagick-6.4.6\VisualMagick\VisualMagickMT.sln

I then let the compiler run through the entire make and found that convert.exe was now 7.3 Mb and runs successfully as a stand alone executable.

I guess one last question exists. Is there an effort changing all the code to current functions such as changing strcat to strcat_s, fopen to fopen_s, etc.?

Thanks for all the help. Using this utility has saved me hours of time and I would be interested in donating some time in some way either through documentation or some coding but I do have to say, as my software skills are strong, I do not know ImageMagick that well.

Thanks,
cleanfacets