Page 1 of 1
Unable to compile IM Windows in StaticST mode
Posted: 2011-05-04T10:54:59-07:00
by markmarques
using the latest windows source file
----
2011-04-30 6.6.9-7 Cristy <quetzlzacatenango@image...>
* New version 6.6.9-7.
---
Trying to compile with HDRI enabled and Quantum 32 :
defined in the magick-config.h file ...
I am trying to compile a Static version with the previous settings and I get this :
Error 126 fatal error C1057: unexpected end of file in macro expansion d:\ImageMagick-source\coders\png.c 5805
I tried to check all the function definitions in that line but with No Success ...
Of course several other errors appear :
Error 294 fatal error LNK1181: cannot open input file '..\lib\core_db_coders_.lib' UTIL_compare
due to the preivous one...
Previous versions did not have such problems ...
Any comments ?
Re: unable to compile IM Windows - Errors in png.c (VS2005)
Posted: 2011-05-05T03:45:44-07:00
by markmarques
Update:
Solved the png.c file problem but now I get this error for each exe:
error LNK2019: unresolved external symbol _RegisterAAIImage referenced in function _RegisterStaticModules core_db_magick_.lib
error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
error LNK2019: unresolved external symbol _UnregisterAAIImage referenced in function _UnregisterStaticModules core_db_magick_.lib
error LNK2019: unresolved external symbol _UnregisterHDRImage referenced in function _UnregisterStaticModules core_db_magick_.lib
fatal error LNK1120: 4 unresolved externals d:\ImageMagick-source\VisualMagick\bin\convert.exe 1
This time the "go to definition" on error does no work ...
Downloaded the latest windows source zip frmo the FTP 05 05 2011 ... 6.6.9-8 version
Any ideas ?
Re: Unable to compile IM Windows
Posted: 2011-05-17T08:30:42-07:00
by markmarques
Just to report that I am still unable to compile the IM due to the previous post error ...
Trying to compile from the windows source code in
2011-05-15 6.6.9-9
If I define :
MAGICKCORE_QUANTUM_DEPTH = 32
I get those errors:
error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
error LNK2019: unresolved external symbol _RegisterAAIImage referenced in function _RegisterStaticModules core_db_magick_.lib
Any ideas how to solve those errors ?
Re: Unable to compile IM Windows
Posted: 2011-06-08T01:50:00-07:00
by markmarques
Still unable to compile IM in Windows ...
using the 6.7.0-5 2011-06-07 source version
and flag : MAGICKCORE_QUANTUM_DEPTH = 32
Even If disable the MAGICK_HDRI define flag I still keep getting :
error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
Does anyone knows what is happening ?
How can I solve this external reference problem ?
Re: Unable to compile IM Windows in StaticST mode
Posted: 2011-06-14T09:40:02-07:00
by markmarques
After I some fiddling with the source code I noticed this:
Only after I installed the Windows binary 6.7.0-7 version and decompressed the correct source version
I was enable to compile the latest version.
Although further test should be done I suppose that something ( dll , variable , link dependency ) is activated only with the binary install....
So now I can compile the DynamicMT with HDRI and Quantum = 32 withou any problems....
Any ideas ?
Re: Unable to compile IM Windows in StaticST mode
Posted: 2011-06-14T17:13:15-07:00
by anthony
It is great when the user answers his own question, but also reports it.
Kudos to markmarques