Vampyre Imaging Library Forum

Imaging Category => Suggestions, Feature Requests, Contributions => Topic started by: dvh on 17 June 2010, 13:27:11

Title: Extras should be in Source directory
Post by: dvh on 17 June 2010, 13:27:11
Hi.

I used older Imaging lib before. I downloaded new version (imaginglib0264.zip) and compiler was complaining about missing Extras. If by default it require Extras, I suggest that directory Extras should be moved to Source directory.

I used only Source part of imaging library, and now when Extras is outside the Source dir, I should place Extras in upper dir but there are other directories from from other libraries so I end up having 2 dirs for Imaging library. One is called "Imaging" (this is actually Source) and one is "Extras". Moving Extras to Source would solve my problems.

Or, remove Extras from default dependency so I can compile imaging lib without extras.

Thanks.
Title: Re: Extras should be in Source directory
Post by: Galfar on 29 June 2010, 17:17:11
Hi,
to get rid of Extras dependency you can edit ImagingOptions.inc file in Source dir and
uncomment this line //{$DEFINE DONT_LINK_EXTRAS} (along with other stuff you don't need).

Or if you want to use something from Extras (OpenGL support maybe?), but don't want to have dependency on this dir, just copy related units to Source dir.

Maybe Extensions subdir (the one with actual Pascal units) of Extras could be moved under Source.
Title: Re: Extras should be in Source directory
Post by: Arpisit1750 on 10 February 2021, 08:16:50
Yes, you can edit it.