I have just downloaded the last version of ImageMagick in source code version (6.7.4). I have built the DLLs using Visual C++ Express 2008 following the instructions given in the web.
I have also built de demo programs succesfully. This means that I have a development environment able to create applications using Magick++. Now, I would like that all developers in my company could use ImageMagick to develop their applications, but I would like to offer them a "reduced" environment, including only those files in the source distribution that are really needed.
I read the instructions concerning a "portable" installation and found, I think, all the information I need but the place to get the header files from.
I have checked one of the .vcproj projects created in the demo folders (the instructions say I must take a look to the .dsp's, but this is valid for former versions of Visual C++) in order to see how to configure a project on my own.
The section with the preprocessor directives is clear enough. However, the additional inclusion directories are confusing me.
Since I want to create a "slimmer" development environment including only those files that are really needed from the source distribution any developer wishing to create its own program will need:
The library (.lib) files included in the lib directory.
The dll files found in the bin directory.
The .xml files found in the bin directory (by the way, I couldn't find modules.xml!!!)
The .h / .hpp found... in many different places across the source distribution!!!
Checking one of the .vcproj files I mentioned above, I saw the following line:
Code: Select all
AdditionalIncludeDirectories="..\..\..,..\..\..\xlib,..\..\..\Magick++\lib,..\..\..\,..\..\..\magick,..\..\..\Magick++,..\..\..\Magick++\demo,..\..\..\Magick++\lib,..\..\..\Magick++\lib\Magick++,..\..\..\Magick++\tests"
In my "streamlined" development environment I would like to create a single directory, let's say "magick_include" where I would copy as many directories as necessary from those listed above. The questions, then, are:
- Which ones of these folders do I really need? For instance, do I need "..\..\..\Magick++\demo"?
- Assuming that the list of required folders is known, I guess that it is possible to create a folder hierarchy like the one below:
+magick_include
+ required_folder_1
+ required_folder_2
+ ...
+ required_folder_N
and then use Visual C++ to define each of these folders as a place to look for header files (in "Project directories").
Thank you very much for your help!