Compiling for 64bit using Visual Studio, or help with JMagic
Posted: 2009-04-16T11:17:09-07:00
Hello,
I was wondering if anyone out there could PLEASE help me get Image Magick compiling for 64bit? I followed the instructions and was able to build fine for 32bit. As soon as I do a clean, set the project to build for 64bit, and build I start getting a ton of errors. For now I will only be concerned with the first errors:
Error 1 fatal error C1189: #error : Something is very very wrong. This header must only be used under Visual C++. c:\imagemagick-6.5.1\jpeg\jmorecfg.h 189
My real goal here is to get a 64bit version of jmagick built so I can run on 64bit JBoss. When compiling JMagick, I got stuck when I was missing the following file 'CORE_RL_magick_.lib'. The docs state that there should be lib and include directories in the folder where you installed ImageMagick. So first, I installed the 64bit version of ImageMagick and those directories do not exist. It was at this point that I went down the path of trying to compile Image Magick using Visual Studio 2005. FYI, I have installed the 64 bit support for Visual Studio. While I realize that this is not a JMagick forum, if anyone has some words of wisdom I'd be greatfull! Has anyone ever tried building/running Image Magick and JMagick for 64bit architecture? There is no relevant information that I could find on the net! Maybe it is not even possible?
Thanks in advance,
Tom
I was wondering if anyone out there could PLEASE help me get Image Magick compiling for 64bit? I followed the instructions and was able to build fine for 32bit. As soon as I do a clean, set the project to build for 64bit, and build I start getting a ton of errors. For now I will only be concerned with the first errors:
Error 1 fatal error C1189: #error : Something is very very wrong. This header must only be used under Visual C++. c:\imagemagick-6.5.1\jpeg\jmorecfg.h 189
My real goal here is to get a 64bit version of jmagick built so I can run on 64bit JBoss. When compiling JMagick, I got stuck when I was missing the following file 'CORE_RL_magick_.lib'. The docs state that there should be lib and include directories in the folder where you installed ImageMagick. So first, I installed the 64bit version of ImageMagick and those directories do not exist. It was at this point that I went down the path of trying to compile Image Magick using Visual Studio 2005. FYI, I have installed the 64 bit support for Visual Studio. While I realize that this is not a JMagick forum, if anyone has some words of wisdom I'd be greatfull! Has anyone ever tried building/running Image Magick and JMagick for 64bit architecture? There is no relevant information that I could find on the net! Maybe it is not even possible?
Thanks in advance,
Tom