[Pythonmac-SIG] How to make py2app app stub link to Cocoa framework?

Kevin Walzer kw at codebykevin.com
Sun Mar 31 03:28:05 CEST 2013


On 3/30/13 7:37 PM, sameer wrote:
> Does anyone have any hints about how I can make this work? I am new to Mac
> Apps and sandboxing.

This appears to be the error:

3/30/13 7:04:02.050 PM [0x0-0xb15b15].com.falkorsystems.defisheye: 
ImportError: dlopen(/Users/sameer/Documents/Falkor 
Systems/gopro_calibration/DeFisheye/dist/DeFisheye.app/Contents/Resources/lib/python2.7/lib-dynload/cv2.so, 
2): Library not loaded: /usr/X11/lib/libpng15.15.dylib
3/30/13 7:04:02.050 PM [0x0-0xb15b15].com.falkorsystems.defisheye: 
Referenced from: /Users/sameer/Documents/Falkor 
Systems/gopro_calibration/DeFisheye/dist/DeFisheye.app/Contents/MacOS/../Frameworks/libopencv_highgui.2.4.4.dylib
3/30/13 7:04:02.050 PM [0x0-0xb15b15].com.falkorsystems.defisheye: 
Reason: no suitable image found.  Did find:
3/30/13 7:04:02.050 PM [0x0-0xb15b15].com.falkorsystems.defisheye: 
/usr/X11/lib/libpng15.15.dylib: open() failed with errno=1
3/30/13 7:04:02.119 PM DeFisheye: DeFisheye Error

Some linking error to libpng, apparently. This wouldn't seem to have 
anything to do with the Cocoa linking issue in py2app.

--Kevin

-- 
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com


More information about the Pythonmac-SIG mailing list