Dear all,
I have generated a bundle for MacOS as follows:
if(APPLE)
set(OS_BUNDLE MACOSX_BUNDLE)
elseif(WIN32)
set(OS_BUNDLE WIN32)
endif()
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_executable(FADTTSter ${OS_BUNDLE}
${FADTTS_src}
)
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
Well, there's this information about unknown error -10810:
http://www.thexlab.com/faqs/error-10810.html
Does your app launch a lot of sub-processes at startup?
Are you saying that you *can* run the app from the terminal window, but
that you cannot run the app by double-clicking or by using
Also, you may find extra hints about what's going wrong in the output
of the Console application. (Usually found in
/Applications/Utilities) -- see if there's anything in the
system.log in there, or poke around and see if it has a crash report
related to your app.
HTH,
David C.
--
Powered
Lucas and David,
Thank you for your responses.
*Does anything get printed in the terminal if you type and enter: *
*/Applications/MyApp.app/Contents/MacOS/MyApp**?*
This is what I mean when I say I can run it through the terminal. If I
enter the above command the app starts properly.
*Does
Also, I forgot to mention that using the Console Utility gives nondescript
errors: it just says MyApp exited with code 127.
On Mon, Jun 23, 2014 at 8:56 AM, Scott Klum scott.k...@gmail.com wrote:
Lucas and David,
Thank you for your responses.
*Does anything get printed in the terminal if
I figured out the issue. I have CPACK_BUNDLE_STARTUP_COMMAND to my startup
bash script. This script modifies a bunch of library paths via
install_name_tool. I cd into the directory containing the actual
executable (MyApp.app/Contents/Resources/bin/) and work from there.
This is pretty darn
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