I am trying to compile ImageMagick-6.8.7-7-Q16-x64-dll under win 7 64 in vs2008 professional. I have followed the instructions to compile configure and unchecked X11 and chose the 64 bit option in config. I keep getting the error
Error 2 error C2143: syntax error : missing ';' before 'type' c:\2013\ImageMagick-6.8.7\magick\magick-baseconfig.h 197 CORE_magick
Error 340 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\2013\ImageMagick-6.8.7\magick\magick-config.h 24 CORE_Magick++
Error 367 error C2144: syntax error : 'long' should be preceded by ';' c:\2013\ImageMagick-6.8.7\magick\magick-baseconfig.h 197 CORE_Magick++
I will appreciate any help. Thank you.
Kochhar
imagemagick would not compile in win 7 64 in vs2008 prof
Re: imagemagick would not compile in win 7 64 in vs2008 prof
Did you set the platform to x64 instead of win32? You should not uncheck the X11 stubs option. After you open the solution you should edit magick-config.h and undefine the MAGICKCORE_X11_DELEGATE define.
I am now working on an extra option in the configure program that will allow you to disable X11 completely. I hope to get this in before the next release.
I am now working on an extra option in the configure program that will allow you to disable X11 completely. I hope to get this in before the next release.
Re: imagemagick would not compile in win 7 64 in vs2008 prof
I had commented the line #define MAGICKCORE_X11_DELEGATE rather than #undef MAGICKCORE_X11_DELEGATE. After changing It compiled without any problem. Thank you.