0(97): error C1038: declaration of "dim" conflicts with previous declaration at 0(88)
Hi all,
I am working on a jit.gl patch, and am getting a series of errors the moment I toggle on my metro. It doesn't seem to disturb anything in the running of my patch, the result is exactly as I intended it, but it is quite a series of (the same) errors, so it is disturbing me. I can't seem to pinpoint the cause of the errors.
Anyone who could help me figure this one out? I attached my main patch and two gen patches that are used in it.
To reproduce the error, simply start the patch (toggle top left corner). It will ask for a movie file, select any of your own, it needs a movie to run the patch. It should then produce 3 series of 8x the same error (error message in title); but the patch should be running fine otherwise (if you don't see any output, try adjusting the first brightness/contrast variables).
Since it are series of 8 errors, I suspect it has to do with the "8x downsample" sub patcher (which is a stack of 8x an identical sub patch). The patch downsamples my video to a small resolution (5x4pixels should be default). The "dim" in the error message makes me think something must be going wrong there. However the subpatch is producing exactly its intended result (a downsampled video of 5x4 pixels) - so I am not able to understand what is going wrong.
Cheers,
Wim
No one got any ideas? Or at least tips where to start debugging on an issue that doesn't produce any symptoms other than a vague(to me) error?
Alright, I have narrowed it down to my downsampling gen patch.
I specified a param within the gen patch with the name "dim", which is obviously also an attribute of the jit.gl.pix object that is using the gen patch... so those conflicted. Problem solved!