Le 23 juin 2014 à 03:11, Scott Klum <scott.k...@gmail.com> a écrit :
> I'm trying to make an OSX bundle using CMake/CPack on OSX that involves
> OpenCV and Qt (although I don't think those dependencies matter at this
> point). Everything compiles and the bundle is created fine, and I have a
> script that modifies the necessary library paths such the executable I'm
> making works if I run it from the Terminal within the bundle. The problem I'm
> having is if I try to run the MyApp.app file via the open command or by
> simply double clicking the app it gives me the error:
>
> LSOpenURLsWithRole() failed with error -10810 for the file /Applications/MyApp
> I've seen other solutions to other LSOpenURLsWithRole() errors involving
> modifying permissions, but that hasn't helped me. Also, this error code is an
> "unknown error" so I'm not sure how to proceed.
>
>
> --
> Scott Klum
Hello Scott,
Does anything get printed in the terminal if you type and enter:
/Applications/MyApp.app/Contents/MacOS/MyApp
?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake