PDA

View Full Version : Compile on Mac OS X, did I miss anything?


shark2600
2008-02-20, 03:35
Hi,

I'm a Windows developer with over 12 years pro experience, but still a Mac newbie. The idea of port XBMC to OS X is great. I followed the instructions on this page,
http://xbmc.org/wiki/?title=HOW-TO_compile_XBMC_for_Mac_OS_X_from_source_code

But, the compiler complains sort of SDL not found, I think I need install the SDL or include it in the path if it is already there. Can any one help me out of this?


/Volumes/Scratch/work/xbmc/linuxport/XBMC/xbmc/linux/PlatformDefs.h:29:21: error: SDL/SDL.h: No such file or directory
/Volumes/Scratch/work/xbmc/linuxport/XBMC/xbmc/linux/PlatformDefs.h:30:28: error: SDL/SDL_thread.h: No such file or directory
/Volumes/Scratch/work/xbmc/linuxport/XBMC/xbmc/linux/PlatformDefs.h:31:27: error: SDL/SDL_mutex.h: No such file or directory

d4rk
2008-02-20, 07:57
There are few more packages that are needed:

sudo port install libsdl-framework libsdl libsdl_gfx libsdl_image libsdl_mixer
mysql5-devel libogg


If you're still missing something, first thing you'll probably want to try is to do a search

sudo port search <package name>

Gamester17
2008-02-20, 11:52
@shark2600, if you are a Windows developer then maybe you would prefer to help with the Win32 port of XBMC ("XBMC for Windows") which you use Microsoft Visual Studio to develop in? ...we are looking for Windows developers to work on this Win32 port of XBMC, see this topic-thread for more information:
http://xbmc.org/forum/showthread.php?t=30950

Since XBMC for Linux, Mac OS X and Windows are all developed from the same SVN branch (for cross-platform support) all those ports will benifit from any new non-platform-specific feature or function you add to XBMC no matter which operating-system you are developing in and for.

So you still use the linuxport branch in the SVN https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/ then dump ArtVandelae's patches from the above mentioned topic-thread over the linuxport branch before you load the xbmc.vcproj project file in Microsoft Visual Studio.

Also check this two wiki articles out:
http://xbmc.org/wiki/?title=Linux_port_project
http://xbmc.org/wiki/?title=Development_Notes

Happy coding

:grin:

shark2600
2008-02-20, 16:09
Thanks, and I noticed that the wiki page has been changed. Excellent, will try tonight.

There are few more packages that are needed:

sudo port install libsdl-framework libsdl libsdl_gfx libsdl_image libsdl_mixer
mysql5-devel libogg


If you're still missing something, first thing you'll probably want to try is to do a search

sudo port search <package name>