thank you for update. I’m trying to move my code from Xcode to Windows Visual Studio and have an issue with Spout. When I define
and run debug, I instantly get the error:
C:\Cinder\include\cinder/app/msw/AppMsw.h(106) attempting to reference a deleted function
Have you tryed running Tinderbox to create a new project with
Spout: Basic template?
Or use the samples: Sender or Receiver?
No, I didn’t use the template. And finally I made it to work. I’m no very experienced in C++, but if I initialize the Spout in public this way:
SpoutOut sOut = SpoutOut(“From Spout”, getWindowSize());
I don’t know why, but everything works!
Usually I define variable in public and then initialize it in setup() function.
I had a quick look into the library -
it looks there is no constructor for SpoutOut takes 0 argument, that is why you have to initialise it in the constructor function of your App class / or directly in the declaration phase.
Since cinder’s default template doesn’t expose the constructor function of the App class, you will usually have to do this manually.