参考: https://github.com/Hiroki11x/openFrameworksSample/tree/master/ofxSyphon_Sample
Syphon対応のためにプロジェクトを用意し直した関係上、以下のレポジトリとは別管理にした。 https://github.com/sw1227/of-domain-warping
- 旧verの各種注意点や前提を継承する。
- ビルド時のGLUTのエラーを回避するため、
ofxSyphon
->Build Phases
->Run Script
以下のrsync -aved ../../../libs/glut/lib/osx/GLUT.framework "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/"
をコメントアウトする必要があった。
ofApp.cpp
のsetup()
関数内で指定されている通り、Main
という名前でpublishしている。
これを確認するには、例えばSyphon Simple Appsをダウンロードし、Simple Client.app
を起動する。その状態で本プロジェクトをBuildしてDomain Warpingの画面を表示すると、Simple Client.app
側でも全く同じ画面が表示されていることが確認できる。