[wxsword-devel] Compiling 1.0 on Mac OS X 10.3.3

Christian Renz crenz-swordproject at web42.com
Mon May 3 15:16:31 MST 2004


Jason,

thanks for your work on BibleStudy. I tried my hand at compiling it on
Mac OS X and ran into a few problems (apart from having to recompile
my wxWindows 2.4.2 lib with built-in zlib to not have the system's
zlib symbols clash with sword's built-in zlib):

- I had to change src/BookViewToolBar.cpp: I don't know why, but wxMac
  only has a single form of wxDropDown::Append - the one that accepts
  one wxString. I changed BookViewToolbar::AddRanges() to look like
  this:

        m_DropDownRange->Append(wxT("Gen-Mal"));
        m_DropDownRange->Append(wxT("Gen-Rev"));
        m_DropDownRange->SetSelection(1);

  (just for testing)

- When running, the start up screen shows, but then the program
  crashes. In gdb, I see the following:

(gdb) run
Starting program: /Users/crenz/Desktop/biblestudy-1.0/src/biblestudy 
Reading symbols for shared libraries
+................................................... done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x01b65ab0 in wxHtmlWindow::SetPage(wxString const&) ()

I didn't have time to debug any further (plus never used gdb
before...), but thought I'd share my results with you guys.

Greetings,
   Christian


-- 
crenz at web42.com - http://www.web42.com/crenz/ - http://www.web42.com/

"The three chief virtues of a programmer are: Laziness, Impatience and
Hubris"  -- Larry Wall


More information about the wxsword-devel mailing list