I have downloaded the source packeage at
ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/windows/ImageMagick-6.3.7-9.zip
, unziiped it at D:\Program Files\Microsoft Visual Studio
9.0\ImageMagick-6.3.7, then I add the path "D:\Program Files\Microsoft
Visual Studio 9.0\ImageMagick-6.3.7\Magick++\lib" at "Tools -> Options ->
Projects and Solutions -> VC++ Derectories ->Include Files" .I wrote a very
simple program:

// Magic++.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <Magick++.h>
using namespace Magick;
int _tmain(int argc, _TCHAR* argv[])
{
 return 0;
}


the visual studio output following messages:
1>------ Build started: Project: Magic++, Configuration: Debug Win32 ------
1>Compiling...
1>Magic++.cpp
1>d:\program files\microsoft visual studio
9.0\imagemagick-6.3.7\magick++\lib\magick++\include.h(13) : fatal error
C1083: Cannot open include file: 'magick/magick-config.h': No such file or
directory
1>Build log was saved at
"file://d:\Magic++\Debug\BuildLog.htm<file:///d:/Magic++/Debug/BuildLog.htm>
"
1>Magic++ - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I'm tortured by Magick++ for a whold afternoon, anybody tell me how to write
a "hello word" with visual studio?? thank you!!


-- 
彪悍的人生不需要解释
欢迎来踩我的博客http://hi.baidu.com/soulmachine
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to