Hi Dave, 2011/6/8 davetow <[email protected]>
> Hi, > I've been compiling Hugin from source for a while now (under OSX), > and some time a couple months ago I started hitting a "wxWidgets Debug > Alert" every time I start Hugin. The Alert contains the message: > >../src/mac/carbon/bitmap.cpp(242): assert "m_hBitmap" failed in Create(): > Unable to create > > CGBitmapContext context > > Do you want to stop the program? > > You can also choose [Cancel] to suppress further > > warnings > > [No] [Cancel] [Yes] > > The dialog stops Hugin from loading until one of these options is > chosen. In the past the choice did not matter ... Hugin would launch > regardless of the choice. Now if I click on Yes it crashes and opens > a Problem Report. Clicking 'No' or 'Cancel' lets Hugin run fine, > until the next time I launch it. > > How can I make this go away? > > Dave > PS. When launching Hugin from the command line (/usr/local/ > Applications/Hugin.app/Contents/MacOS/Hugin) I get the additional > messages: > Wed Jun 8 09:13:35 mymachine.local Hugin[20622] <Error>: > CGBitmapContextCreate: invalid data bytes/row: should be at least 4 > for 8 integer bits/component, 3 components, > kCGImageAlphaNoneSkipFirst. > [Debug] 09:13:35: ../src/mac/carbon/bitmap.cpp(242): assert > "m_hBitmap" failed in Create(): Unable to create CGBitmapContext > context > Wed Jun 8 09:13:38 mymachine.local Hugin[20622] <Error>: > CGContextTranslateCTM: invalid context 0x0 > Wed Jun 8 09:13:38 mymachine.local Hugin[20622] <Error>: > CGContextScaleCTM: invalid context 0x0 > > I assume that you are using the wxwidgets as provided from either Macports or fink. If so, which wxmac version is it and which hugin version? Are you on ppc or intel, and on 10.4, 10.5 or 10.6, and on are you using the gcc from MacPorts or the one from XCode? 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
