You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the work on this, really appreciated. I've been trying to build a simple example using Leap Motion outside of the openFrameworks directory structure and worked all the way back to find that it (ofxLeapMotion) requires the GLUT framework. I eventually managed to fix this by adding the following to configApple.cmake:
GLUT is also used by the 3DPrimitivesExample, so built that externally as well. I thought I'd test it by stashing the above change, but got the following cryptic error:
dyld: Library not loaded: @rpath/libopenFrameworksShared.dylib
Referenced from: /Users/davidfee1/myprojects/ofTest/3DPrimitivesExample/bin/3DPrimitivesExample.app/Contents/MacOS/./3DPrimitivesExample
Reason: image not found
Abort trap: 6
Unstashing the changes fixes it and everything runs fine.
Just wondering if you'd encountered this and if there was any better workaround?
Thanks
The text was updated successfully, but these errors were encountered:
Hi there
Thanks for the work on this, really appreciated. I've been trying to build a simple example using Leap Motion outside of the openFrameworks directory structure and worked all the way back to find that it (ofxLeapMotion) requires the GLUT framework. I eventually managed to fix this by adding the following to configApple.cmake:
ADD_CUSTOM_COMMAND(TARGET ${APP_NAME}
POST_BUILD
COMMAND rsync -av --exclude=Headers ${LIB_GLUT} ${PROJECT_SOURCE_DIR}/bin/${APP_NAME}.app/Contents/Frameworks
COMMENT "Custom command: Copying ${LIB_GLUT} to output App Frameworks directory"
)
GLUT is also used by the 3DPrimitivesExample, so built that externally as well. I thought I'd test it by stashing the above change, but got the following cryptic error:
dyld: Library not loaded: @rpath/libopenFrameworksShared.dylib
Referenced from: /Users/davidfee1/myprojects/ofTest/3DPrimitivesExample/bin/3DPrimitivesExample.app/Contents/MacOS/./3DPrimitivesExample
Reason: image not found
Abort trap: 6
Unstashing the changes fixes it and everything runs fine.
Just wondering if you'd encountered this and if there was any better workaround?
Thanks
The text was updated successfully, but these errors were encountered: