c++ - OpenCV in the Playground -


it possible wrap c++ code objective-c++ frameworks use in swift code, including playground environment. of frameworks include opencv libraries , works in swift when wrapped. unfortunately, cannot use these in playgrounds because of following error:

playground execution failed: error: couldn't lookup symbols: _objc_class_$_myclass 

... myclass subclass of nsobject framework. in fact, no framework symbols available playground after link 1 of opencv libraries (e.g. after adding -lopencv_core "other linker flags" in build settings), whether or not these symbols have opencv (or c++ matter).

i enjoy developing small bits of functionality in playgrounds in context of imported frameworks successful solutions end up. equally, opencv important library me, having play in playgrounds liberating (not mention fun).

i'm still using swift 1.2 (os 10.10.4) i'm submit update app store, interested if swift 2 makes difference in regard. opencv, version 3.0.0, built cmake , default configuration.

edit: found problem described (better , more did) in apple's forums: https://forums.developer.apple.com/thread/6246


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -