(solved) Imagemagick 6.6.9-1 Build Problems
Posted: 2011-03-30T07:10:40-07:00
I am using VStudio 2005 to build Imagemagick 6.6.9-1 ...
Followed the docs ( previous versions compiled fine ...)
changed options :
#define MAGICKCORE_QUANTUM_DEPTH 64
and
#define MAGICKCORE_HDRI_SUPPORT
I get several ( 265+) errors :
Error 1 fatal error C1189: #error : "MAGICKCORE_QUANTUM_DEPTH must be one of 8, 16, 32, or 64" d:\ImageMagick-source\magick\magick-type.h 99
and so on ...
But If define with the following options:
#define MAGICKCORE_QUANTUM_DEPTH 32
and
#define MAGICKCORE_HDRI_SUPPORT
I get :
Error 300 error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
Error 301 error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
Error 302 error LNK2019: unresolved external symbol _UnregisterHDRImage referenced in function _UnregisterStaticModules core_db_magick_.lib
Error 303 fatal error LNK1120: 2 unresolved externals ..\bin\animate.exe
Error 304 fatal error LNK1120: 2 unresolved externals ..\bin\compare.exe
Error 305 error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
...
for all the executables ....
Any idea for what is happening ?
Followed the docs ( previous versions compiled fine ...)
changed options :
#define MAGICKCORE_QUANTUM_DEPTH 64
and
#define MAGICKCORE_HDRI_SUPPORT
I get several ( 265+) errors :
Error 1 fatal error C1189: #error : "MAGICKCORE_QUANTUM_DEPTH must be one of 8, 16, 32, or 64" d:\ImageMagick-source\magick\magick-type.h 99
and so on ...
But If define with the following options:
#define MAGICKCORE_QUANTUM_DEPTH 32
and
#define MAGICKCORE_HDRI_SUPPORT
I get :
Error 300 error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
Error 301 error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
Error 302 error LNK2019: unresolved external symbol _UnregisterHDRImage referenced in function _UnregisterStaticModules core_db_magick_.lib
Error 303 fatal error LNK1120: 2 unresolved externals ..\bin\animate.exe
Error 304 fatal error LNK1120: 2 unresolved externals ..\bin\compare.exe
Error 305 error LNK2019: unresolved external symbol _RegisterHDRImage referenced in function _RegisterStaticModules core_db_magick_.lib
...
for all the executables ....
Any idea for what is happening ?