i believe you just have a slight typo, it should be ImageCacheReadI with an 'I' on the end of the class name.
On Tue, May 8, 2012 at 5:20 PM, cluedo <nuke-dev-re...@thefoundry.co.uk> wrote: > Hi all, > > I'm trying to implement some of the caching functionality detailed in this > doc page: > http://docs.thefoundry.co.uk/nuke/63/ndkdevguide/advanced/caching.html?highlight=imagecacheread > > So I'm using the Image_Cache class and I can create an Image_Cache object > without a problem but when it comes to creating the ImageCacheRead pointer > I'm getting a compiler error saying: > > " error: 'ImageCacheRead' is not a member of 'DD::Image' " > > on the line "DD::Image::ImageCacheRead* cacheRead = iCache->open(hash);" > > I've looked in the ImageCache.h file and I can see there is an > ImageCacheReadI class alongside the Image_Cache class, but neither creating > an ImageCacheRead or ImageCacheReadI object works... yet it says that the > method iCache->open(..) method returns an ImageCacheRead* object. > > I've looked elsewhere online but can't find any other documentation on using > these classes... > > Has anyone else implemented image caching in this way and have they > encountered this problem? > > Any help would be greatly appreciated! > > Thank you very much. > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > _______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev