Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
fiddled a bit with building a 10.5 target, seems MAC_OS_X_VERSION_MIN_REQUIRED is not set which causes the barf with statfs.
10.5 vs 10.4 MacPort builds should not matter if you are only planning on running on a 10.5 box. Both SDKs are supported even with dylibs.
Sounds like you have built something ppc. That's what "not supported on this architecture" means. architecture is intel (32 bit, 64 bit) and ppc. There's actually 4 different architectures.
Ahhh, you are building on an 10.5.6 intel iMac right?
Posts: 177
Joined: Feb 2009
Reputation:
0
jonm42
Senior Member
Posts: 177
Well after creating Debug/XBMC/ (and moving where it looked for that file mentioned), I got a "clean" build, but we're back to bad architecture thing again. Console output is:
[Session started at 2009-02-16 08:33:08 -0800.]
The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).
Posts: 177
Joined: Feb 2009
Reputation:
0
jonm42
Senior Member
Posts: 177
2009-02-16, 22:43
(This post was last modified: 2009-02-16, 22:46 by jonm42.)
If it helps any, it looks like the Debug/XBMC.app/Contents/MacOS folder is empty. I tried just copying xbmc.bin in there, but that didn't work. (I didn't really expect it to, but you never know.)
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
my standard mode of operation after an svn up is the following;
from command-line in the root xbmc dir
make clean
./configure
make externals more_libs
then open the Xcode project;
project tab is set to "10.4 | Debug | XBMC"
"build" or "build and go"
I also have in menu -> projects -> edit active executable "XBMC" -> Arguments, bottom panel. Variables to be set in the enviroment
XBMC_HOME $SRCROOT
This sets XBMC_HOME correctly when running under Xcode.
Xcode version os 3.1.2 and 10.4SDK is installed.
If you are pulling from svn, life goes up and down as things get added. Sometimes the OSX build breaks and I go and fix it.
When set to "10.4 | Debug | XBMC", you are just building the xbmc binary NOT xbmc.app
to build xbmc.app set the project tab to
"10.4 | Debug | XBMC.app"
Then and only then will Debug/XBMC.app/.... get updated.
You cannot "Build and Go" and debug XBMC.app. Only debugging under "10.4 | Debug | XBMC" is supported.
Posts: 177
Joined: Feb 2009
Reputation:
0
jonm42
Senior Member
Posts: 177
It looks like a check in of some kind is in progress because I'm getting 40+ errors of "cannot declare field <varname>::m_dllAvCodec to be of abstract type 'DllAvCodec' because the following virtual functions are pure within 'DllAvCodec'". (Specifically, it's griping about avcodec_find_vdpau_decoder.) So I'll try an svn up and re-recipe later. Thanks again for your help and patience with a newbie to this project.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
hold on, there's a screwup in svn right now.
Posts: 54
Joined: Jan 2009
Reputation:
0
I would really like to build from SVN and have been trying without success for over a week now. I followed initially the guide in the SVN download and despite a multitude of warnings it created a XBMC.app . I managed to run it on my mac but it was no go on the Apple TV.
I have some questions I have looked for the answers but cant find them so If anyone could help i would appreciate it.
First here is what I have done so far while trying to build this morning.
1) Checked out SVN saved to $HOME
2) Opened terminal and from $HOME/XBMC ran the following as per davilla's post #23 above
make clean
./configure
make externals more_libs
3) I then opened Xcode version 3.1.2 and I have the 10.4 SDK Installed
4) Opened the XBMC.xcodeproj file located in the $HOME/XBMC Folder
5) Set the projects -> edit active executable "XBMC" -> Arguments, bottom panel. Variables to be set in the environment to XBMC_HOME $SRCROOT
6) Changed the project tab settings to 10.4 | Debug | XBMC.app
7) Selected Build and Go
After all that the build failed with 19 errors the last being no file or directory exists in $HOME/XBMC/Build/Debug/XBMC
Any thoughts on the above process, are there any logs or other pieces of info that would help.
Also do I need a existing build of XBMC in the Debug folder I ask this as im not sure if the process updates existing builds or completely compiles a new build.
Thanks in advance
terrier