Unable to build Macintosh OSE due to SDL...

Discussions related to using the OSE version of VirtualBox.
Post Reply
macbox
Posts: 6
Joined: 26. Jan 2009, 23:24

Unable to build Macintosh OSE due to SDL...

Post by macbox »

Trying to follow the instructions to build OSE 3.0 on Intel Macintosh. I can't get configure to work as it gives an error trying to work with SDL. (I just want a binary VBoxSDL)
The error is below. Can someone tell me how to make this work or if not does anyone have a binary VBoxSDL build on Mac OS X with VirtualBox 3.0 they would zip up and send me?

-----
Also
ls /Library/Frameworks/SDL.framework/Headers
SDL SDL_cpuinfo.h SDL_opengl.h
SDL.h SDL_endian.h SDL_platform.h
SDL_active.h SDL_error.h SDL_quit.h
SDL_audio.h SDL_events.h SDL_rwops.h
SDL_byteorder.h SDL_getenv.h SDL_stdinc.h
SDL_cdrom.h SDL_joystick.h SDL_syswm.h
SDL_config.h SDL_keyboard.h SDL_thread.h
SDL_config_dreamcast.h SDL_keysym.h SDL_timer.h
SDL_config_macos.h SDL_loadso.h SDL_types.h
SDL_config_macosx.h SDL_main.h SDL_version.h
SDL_config_os2.h SDL_mouse.h SDL_video.h
SDL_config_win32.h SDL_mutex.h begin_code.h
SDL_copying.h SDL_name.h close_code.h
-----
***** Checking SDL *****
compiling the following source file:
#include <cstdio>
#include <SDL.h>
#include <SDL_main.h>
#undef main
extern "C" int main(int argc, char** argv)
{
printf("found version %d.%d.%d",
SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.2.7 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /Users/ega/Downloads/VirtualBox-3.0.0_OSE/.tmp_out /Users/ega/Downloads/VirtualBox-3.0.0_OSE/.tmp_src.cc " -I/Library/Frameworks/SDL.framework/Headers -framework SDL"
g++: SDL: No such file or directory
cc1plus: error: unrecognized command line option "-framework"



-----
poetzsch
Volunteer
Posts: 99
Joined: 14. Feb 2008, 19:33

Re: Unable to build Macintosh OSE due to SDL...

Post by poetzsch »

The configure script was updated recently to fix all remaining issues on Mac OS X. So please update your svn tree & try again.
Post Reply