I’ve never had this problem using ofxOsc with other projects. And ofxDSHapVideoPlayer hasn’t thrown this error until now. But something about having them both in the same project throws this error:
|Error||C2664||‘CVideoTransformFilter::CVideoTransformFilter(LPCTSTR,LPUNKNOWN,const IID &)’: cannot convert argument 1 from ‘const wchar_t ’ to ‘LPCTSTR’||example||C:\Users\selli\openFrameworks\addons\ofxDSHapVideoPlayer\src\DSUncompressedSampleGrabber.cpp||20|
which is weird, because it looks like the argument being given there is indeed in the LPCTSTR format (prefixed with an L). I’m able to replicate this error easily by just adding ofxOsc to ofxDSHapVideoPlayer’s example project in the Project Generator. I’m on Windows 10 using Visual Studio 2019. Any ideas, @mantissa ?
I’d just given up on doing audio in oF since I have a performance tomorrow and was going to use OSC+PD, but now this…