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

jason at whensdinner.com jason at whensdinner.com
Mon May 3 18:07:32 MST 2004

I don't know if I mentioned this before but it is important to note. The
modules that I expect to be installed are hardcoded. That will change in
the next version, but if you do not have these modules installed, it will
crash on start:

SME (Spurgeon's Mornings and Evenings)

I don't think that is related to your problem tho, but it may be a place
to start. Actually, now that I take a closer look at it, there is a good
possibility that that *is* your problem.

I'll look at what you had to change and see if I can incorporate those
changes across the board.

It's also worth noting that I am currently building against 2.5.1, *but* I
want to make sure that it still compiles with 2.4.

Thanks a lot for you work in getting it to compile on Mac. It would be
great if we could support another platform


> 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
> _______________________________________________
> wxsword-devel mailing list
> wxsword-devel at www.crosswire.org
> http://www.crosswire.org/mailman/listinfo/wxsword-devel

More information about the wxsword-devel mailing list