Page 1 of 1

how to define universal paths

Posted: 2008-01-22T10:14:49-07:00
by yoniekai
im having trouble with visual studio 2005, using magick++. i've compiled and build the windows source, following the build instructions but still im clueless as to why debugging cannot find all headers. even the demo files cant find the headers (in this case magick++.h and others). i placed my imagemagick folder in program files btw. im a newbie to IM so please i need some help :(

Re: how to define universal paths

Posted: 2008-01-22T10:36:06-07:00
by magick
The default build is uninstalled meaning you must set the MAGICK_HOME environment variable so that Magick++ can find its configuration files. Set MAGICK_DEBUG to 'configure' and run your application. It will tell you where Magick++ is expecting to find its configuration files. If you install ImageMagick from the self-installing binary distributions we build, go to the c:\Program Files\ImageMagick-6.3.7-Q16\Magick++_demos folder and click on the button workspace. Build and execute. Use this workspace as a model for your own application. Note, the distributions we provide is an installed version which relies on the Windows registry to find the location of the configuration files.

Re: how to define universal paths

Posted: 2008-01-22T10:52:50-07:00
by yoniekai
is the binary you've mentioned the static one? i uninstalled the dll-q16 and used instead the zipped windows source and built it. i think i get it now. so where can i find these MAGICK_HOME configs?

Re: how to define universal paths

Posted: 2008-01-22T11:36:23-07:00
by yoniekai
and i dont get it at all. i installed the binary instead to save me the trouble but still it doesnt find headers!

Re: how to define universal paths

Posted: 2008-01-22T11:46:35-07:00
by magick
When you installed ImageMagick, you need to click on the box that states something like "click here to install ImageMagick development headers".

Re: how to define universal paths

Posted: 2008-01-22T18:30:54-07:00
by yoniekai
visual studio still cant find the magick++ header after all of this..... all the demos compile successfully (tho there are dll "no symbols loaded" errors) but my own project cant find the headers! what's wrong... im using the same solution in the same folder (magick++demo) but im clueless as to why it doesnt find the headers like the demos do

Re: how to define universal paths

Posted: 2008-01-22T21:29:32-07:00
by yoniekai
so i figured i just need to edit one of the demo files to make applications. im having problems with renaming all files associated with the demo, for example i renamed demo to mydemo and it worked but the compiler generates files with the demo filename, including the debug. i dont need to make a new project, i just need to edit them, but how can i rename the whole solution?