[prev in list] [next in list] [prev in thread] [next in thread]
List: imagemagick-developer
Subject: RE: compilation failure under Visual C++ on NT
From: Bill Radcliffe <BillR () corbis ! com>
Date: 2000-08-30 5:39:57
[Download RAW message or body]
First take a good long look at the VisualC++ section of the README.txt files
and see if that helps explain how to integrate ImageMagick with your own
code.
> -----Original Message-----
> From: Hellenga Gary [SMTP:hellenga_gary@bah.com]
> Sent: Monday, August 28, 2000 10:02 AM
> To: magick-developer@imagemagick.org
> Subject: compilation failure under Visual C++ on NT
>
> I'm pretty new to the Windows and Visual C++ environment. I am trying
> to port a UNIX-developed application to NT. One of my source files
> #includes magick/magick.h. The Visual C++ compiler choked on #including
> unistd.h, in the code segment
>
> #if defined(_VISUALC_)
> # include <direct.h>
> # define HAVE_STRERROR
> #else
> # include <unistd.h>
> #endif
>
>
> The symbol _VISUALC_ is not pre-defined in my Visual C++ environment,
> and I cannot even find a reference to it in the Visual C++ help. Thus,
> the "if" clause is skipped, and unistd.h is sought. The only unistd.h
> file I can find, however, is in the /fpx/macdeps subdirectory, and it is
> an EMPTY file!
>
> Should I be defining the _VISUALC_ symbol before compiling? From the
> name, it seems obvious that it should, but I noted that it was not
> defined when I built all the utilities (display, identify, mogrify,
> convert, etc.) that are included in the IM download, and no error
> occurred.
>
> ***********************************************************************
> To remove yourself from this mailing list, send mail to:
> majordomo@imagemagick.org
>
> Include the following command in the body of your message:
> unsubscribe magick-developer
> ***********************************************************************
***********************************************************************
To remove yourself from this mailing list, send mail to:
majordomo@imagemagick.org
Include the following command in the body of your message:
unsubscribe magick-developer
***********************************************************************
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic