2010/7/29 Harry van der Wolf <[email protected]> > > When I start hugin it shows the splash screen, then shows the main screen > and "waits" for the menu. The menu never appears and hugin remains > unresponsive, as it has not completely finished starting I assume. > Same for hugin_stitch_project and PTBatcherGui. > nona_gui does work, but is off course differently built as it is only a > file dialog used to open a .pto. > > I have been googling and analyzing for 1½ day now and simply can't find a > solution or likewise question/problem from another user. > (and yes: even though it had nothing to do with it I also set back the > mentioned Apple specific setting bug (in great despair), but to no avail) > > anyone any clue? > > Harry > > To prevent other users from searching to help me.
I got the idea to start searching for wxmac and the first lines in the FAQ mention: ====== My app can't be brought to the front! This is a common problem met by people new to wxMac. Simply building a wxWidgets app from terminal and producing a raw executable is *not* enough on wxMac. You need to build an application bundle<http://wiki.wxwidgets.org/WxMac_Issues#Building_a_MacOSX_application_bundle>(there is a section about this below). The most easy way to get a bundle is to use an "Application" target in xCode (a "shell tool" target will not produce a bundle). Another possible way to solve this quickly is to add the following lines of code to your app (carefully wrapped in #ifdef __WXMAC__ [..] #endif) : #include <ApplicationServices/ApplicationServices.h> ProcessSerialNumber PSN; GetCurrentProcess(&PSN); TransformProcessType(&PSN,kProcessTransformToForegroundApplication); This is also covered in the official wxMac FAQ<http://www.wxwidgets.org/docs/faqmac.htm#nofocus> ====== Note that the first line (after the heading) says: ".......... people new to wxMac". That throws my self esteem into the shredder ;-) The mentioned solution is not as simple as it looks as it needs to be done in many .cpps and not only the main target .cpp. Next to that it throws a lot of errors around. Now, from my own mentioned solutions I might try solution B: B) As a last step in the "make install" (for OSX) create a "ln -s ${CMAKE_INSTALL_PREFIX}/ Applications/<binary>.app/Contents/MacOS/<binary> ${CMAKE_INSTALL_PREFIX}/bin/<binary>" Maybe later.. Harry -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
