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

2013-03-30 Thread Kevin Walzer

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
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


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

2013-03-30 Thread sameer
Hello all. I'm trying to make a Mac App using py2app that will go on the Mac
App store. I enabled sandboxing and now my app crashes. I noticed on the
py2app bitbucket issue #85

https://bitbucket.org/ronaldoussoren/py2app/issue/85/sandboxing-interaction-issue

which led me to find this thread about linking Cocoa. I applied the
following patch to my py2app



And now when I launch my app it still crashes with the following errors
(which is the same as before I did the LDFLAGS change):



Does anyone have any hints about how I can make this work? I am new to Mac
Apps and sandboxing.

Thanks,
-s



--
View this message in context: 
http://python.6.n6.nabble.com/How-to-make-py2app-app-stub-link-to-Cocoa-framework-tp2157525p5012541.html
Sent from the Python - pythonmac-sig mailing list archive at Nabble.com.
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG