[ptx] Building hugin under os-x

Ippei UKAI ippei_ukai at mac.com
Sat Nov 26 22:27:49 GMT 2005


Hi,

What do you mean by you don't have OSX? I thought you are using Mac  
OS X 10.3. If you own the machine you can download Xcode and install it.

Anyway, as I said, GUI applications do not work properly unless they  
are placed inside the application bundle.

Please try:

cp -r SOMEWHERE/HuginOSX.app
mv hugin HuginOSX.app/Contents/MacOS/HuginOSX
gdb HuginOSX.app/Contents/MacOS/HuginOSX

(I hope my command line usage is correct)

Cheers,
Ippei

On 26 Nov 2005, at 22:16, Daniel M. German wrote:

>
> 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 .
>
>


-- 
  ->> 鵜飼 一平  (UKAI Ippei) ->>>>>>>>>>>>>>>>>>>>>>>>>
   My general MSN, AIM, and E-Mail: ippei_ukai at mac.com
   Homepage:  http://homepage.mac.com/ippei_ukai/




More information about the ptx mailing list