Page 1 of 1

Unable to compile under Linux and Windows

Posted: 2009-12-02T03:38:49-07:00
by erotavlas_turbo
Hi,

I would like to write a C program that replicate the command convert (viewtopic.php?f=1&t=15115). Now i'm trying to compile under Linux and Windows but the results are not good.

Under Windows Visual Studio 2008 I have a lot of error but i think that the problem is the same as viewtopic.php?f=6&t=11757.

Under Linux (gcc compiler or Codeblock IDE with same compiler) i get the following error

Code: Select all

prova.c:2:30: error: wand/magick_wand.h: Nessun file o directory
The code is the same as Windows and i don't know why i can't find the file...the path is

/magick/magick_wand.h
/wand
/source code example.c

thank you

Re: Unable to compile under Linux and Windows

Posted: 2009-12-02T04:45:06-07:00
by erotavlas_turbo
if i try to compile the example wand.c at http://www.imagemagick.org/script/magick-wand.php

it works well...