•  Previous
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 10
  • Next 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
[MAC] Compiling on OSX Lion / Xcode 4.1`
#16
davilla Wrote:Ooooo, that's a nice trick.

Thanks! But I've other error:

Code:
make -C tools/EventClients/Clients/OSXRemote
xcodebuild -sdk macosx10.4 -configuration Release
dyld: Library not loaded: @rpath/DevToolsFoundation.framework/Versions/A/DevToolsFoundation
  Referenced from: /Developer/usr/bin/xcodebuild
  Reason: image not found
make[1]: *** [all] Trace/BPT trap: 5
make: *** [eventclients] Error 2
Reply
#17
Fix it! To compile xbmc, just install xcode 3.2.6.

Building environment....

EDIT: Build all xbmc successfully under Lion!

BR
Reply
#18
New error with last build at make Xcode_depends step:

Code:
ld: library not found for -lGL
collect2: ld returned 1 exit status
make[1]: *** [/Users/i5Js/xbmc/xbmc/addons/visualization.glspectrum/opengl_spectrum.vis] Error 1
make: *** [xbmc/visualizations/OpenGLSpectrum] Error 2
Reply
#19
i5Js Wrote:New error with last build at make Xcode_depends step:

Code:
ld: library not found for -lGL
collect2: ld returned 1 exit status
make[1]: *** [/Users/i5Js/xbmc/xbmc/addons/visualization.glspectrum/opengl_spectrum.vis] Error 1
make: *** [xbmc/visualizations/OpenGLSpectrum] Error 2

Yeah, I hit that one last night. I've got a fix in Github here:

https://github.com/scbash/xbmc/commit/37...69807a33b3

The symbol cleanup in 493650f using the wrong arguments for linking OpenGL on Mac.

Speaking of fixes, do the devs want patches still posted to Trac, or is a github pull request sufficient?

BTW, hi all! I'm new to the forum, but I've been using XBMC on Mac for a couple years now. Just started hacking it yesterday to get some CUE sheet improvements I wanted (and fixed this build problem while I was at it).

Thanks,
Stephen
Reply
#20
fixed in trunk.
MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
Reply
#21
davilla Wrote:fixed in trunk.

Thanks Davilla, now give me this error at xcodebuild

Code:
The following build commands failed:
XBMC:
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/i386/AVPlayerOperations.o /Users/i5Js/xbmc/xbmc/xbmc/interfaces/json-rpc/AVPlayerOperations.cpp normal i386 c++ com.apple.compilers.gcc.4_0
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/i386/AVPlaylistOperations.o /Users/i5Js/xbmc/xbmc/xbmc/interfaces/json-rpc/AVPlaylistOperations.cpp normal i386 c++ com.apple.compilers.gcc.4_0
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/i386/PicturePlayerOperations.o /Users/i5Js/xbmc/xbmc/xbmc/interfaces/json-rpc/PicturePlayerOperations.cpp normal i386 c++ com.apple.compilers.gcc.4_0
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/i386/NFSDirectory.o /Users/i5Js/xbmc/xbmc/xbmc/filesystem/NFSDirectory.cpp normal i386 c++ com.apple.compilers.gcc.4_0
(4 failures)

BR
Reply
#22
davilla Wrote:fixed in trunk.

Thanks. Tested on my 10.6.8 machine with no problems.

Thanks,
Stephen
Reply
#23
New try.... Only one error

Code:
** BUILD FAILED **


The following build commands failed:
XBMC:
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/i386/NFSDirectory.o /Users/i5Js/xbmc/xbmc/xbmc/filesystem/NFSDirectory.cpp normal i386 c++ com.apple.compilers.gcc.4_0
(1 failure)
Reply
#24
I don't know why, but compiled again from start and, worked!
Reply
#25
New error compiling darwin dependences:

Code:
../config.site.mk:24: *** Recursive variable `CPPFLAGS' references itself (eventually).  Stop.

BR
Reply
#26
yea, yea. working on it Smile
MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
Reply
#27
hahahah Ok Davilla! Just testing Smile
Reply
#28
New error:

Code:
make -C libcec
/usr/bin/curl -Ls --create-dirs --output /Users/Shared/xbmc-depends/tarballs/libcec-1.5.2.tar.bz2 http://mirrors.xbmc.org/build-deps/darwin-libs/libcec-1.5.2.tar.bz2
rm -rf libcec
tar xf /Users/Shared/xbmc-depends/tarballs/libcec-1.5.2.tar.bz2
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
make[1]: *** [libcec] Error 1
make: *** [libcec] Error 2

The problem is http://mirrors.xbmc.org/build-deps/darwi....2.tar.bz2 doesn't exists. It's http://mirrors.xbmc.org/build-deps/darwi...5.2.tar.gz instead.

BR
Reply
#29
hehe will ponk the right people ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#30
One question, all the source code of git://github.com/xbmc/xbmc.git is eden version??
Reply
  •  Previous
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 10
  • Next 



[MAC] Compiling on OSX Lion / Xcode 4.1`00