VVISF-GL
VVISF-GL copied to clipboard
using VVISF with cinder
Hello,
I use VVISF inside a cinder project. https://github.com/oogre/ORAGE/tree/ISF
I only use ISFDoc::generateShaderSource
and ISFAttr
.
My integration is working without problem on OSx,
I'm struggling to make it work on Windows.
Currently I receive this error message
cinder.lib(ImageSourceFileStbImage.obj) : error LNK2005: "void __cdecl stbi__tga_read_rgb16(struct stbi__context *,unsigned char *)" (?stbi__tga_read_rgb16@@YAXPEAUstbi__context@@PEAE@Z) already defined in GLBufferPool.obj
It seems there is a conflict with stb_image.h which is used by cinder and by VVGL.
From your point of view what's the best solution :
- modify VVISF-GL to split VVISF from VVGL (cause I don't need VVGL) ?
- use VVISF-GL in a small app for the interpretation and implement my own ISFAttr inside my app
- compile VVISF-GL inside cinder to handle the conflict
- make a VVISF-GL branch to turn it into cinder block
- something else with preprocessor magic to handle this conflict
What can I do to debug this conflict
Have a nice day