[ptx] Building hugin under os-x

Daniel M. German dmgerman at uvic.ca
Sat Nov 26 22:16:00 GMT 2005


Thanks a lot Ippei for your message.

After some work last night I finally got it to compile. Unfortunately
I don't have OS X, so I can't use Xcode.

The problem I am having now is that whenever I run it crashes with a
Bus error right after starting (after it displays the splash image). I
am not sure that it is not related to compilation/build errors.

Here is my setup

I am 

[dmg at silicon dmg]$ g++ --version

g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)

I am using wx-2.6.2 (as downloaded, I did not patch it).

When I run it and it crashes I get this backtrace:

[dmg at silicon dmg]$ gdb hugin
GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec  4 15:4
[...]
run
[...]
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00381088 in wxWindowBase::Disable() (this=0x0) at /sw/include/wx-2.6/wx/window
.h:453
453         bool Disable() { return Enable(false); }
(gdb) backtrace
#0  0x00381088 in wxWindowBase::Disable() (this=0x0) at /sw/include/wx-2.6/wx/window.h:453
#1  0x00027bd0 in CPEditorPanel::CPEditorPanel(wxWindow*, PT::Panorama*) (this=0x48c8a00, parent=0x4820000, pano=0x3616c84) at CPEditorPanel.cpp:264
#2  0x000268d0 in CPEditorPanel::CPEditorPanel(wxWindow*, PT::Panorama*) (this=0x48c8a00, parent=0x4820000, pano=0x3616c84) at CPEditorPanel.cpp:117
#3  0x000130dc in MainFrame::MainFrame(wxWindow*, PT::Panorama&) (this=0x4820000, parent=0x0, pano=@0x3616c84) at MainFrame.cpp:283
#4  0x00011954 in MainFrame::MainFrame(wxWindow*, PT::Panorama&) (this=0x4820000, parent=0x0, pano=@0x3616c84) at MainFrame.cpp:159
#5  0x0000624c in huginApp::OnInit() (this=0x3616be0) at huginApp.cpp:289
#6  0x0033b3cc in wxAppConsole::CallOnInit() (this=0x3616be0) at /sw/include/wx-2.6/wx/app.h:87
#7  0x0009106c in wxEntry(int&, wchar_t**) () at /sw/include/wx-2.6/wx/string.h:882
#8  0x00003b44 in main (argc=1, argv=0xbffff658) at huginApp.cpp:134


Any ideas? 





--
Daniel M. German                  "Great algorithms are
   Francis Sullivan ->             the poetry of computation"
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 


More information about the ptx mailing list