[Ohrrpgce] FreeBASIC Mac OS X build

James Paige Bob at HamsterRepublic.com
Fri Oct 8 09:57:34 PDT 2010


On Sat, Oct 09, 2010 at 05:49:53AM +1300, Ralph Versteegen wrote:
> On 9 October 2010 05:46, James Paige <Bob at hamsterrepublic.com> wrote:
> > On Fri, Oct 08, 2010 at 08:34:28AM -0700, James Paige wrote:
> >>
> >> Oh! I had not realized that you had uploaded that file! *testing now*
> >> Woo! Works perfectly!
> >
> > fbc works fine now, but the Makefile is still not completing.
> >
> > make[1]: *** No rule to make target `mac/SDLMain.o', needed by
> > `ohrrpgce-game'.  Stop.
> >
> > ---
> > James Paige
> 
> I edited the rule for that after last testing it on a Mac. Try changing
> 
> %.o: mac/%.m
> 	$(CC) -c $< -o $@ $(CFLAGS)
> 
> back to
> 
> %.o: %.m
> 	$(CC) -c $< -o $@ $(CFLAGS)

Cool, that fixed that. Now it gets as far as the linking phase, where it 
says:


Linking Game...
fbc -lang deprecated -x ohrrpgce-game -m game -mt -g -exx -entry 
SDL_main -Wl -macosx_version_min,10.4 -d IS_GAME  game.o bmod.o 
bmodsubs.o menustuf.o moresubs.o yetmore.o yetmore2.o savegame.o 
hsinterpreter.o   blit.o base64.o gfx_fb.o gfx_sdl.o music_sdl.o 
sdl_lumprwops.o allmodex.o backends.o lumpfile.o compat.o bam2mid.o 
common.o browse.o util.o loading.o reload.o reloadext.o slices.o 
mac/SDLMain.o -p /usr/lib/ -l fbgfx -Wl -framework,SDL_mixer -Wl 
-framework,SDL -Wl -framework,Cocoa -Wl 
-F/Users/james/Library/Frameworks/
ld: library not found for -lfbgfx
make[1]: *** [ohrrpgce-game] Error 1

---
James



More information about the Ohrrpgce mailing list