Kodi Community Forum
[MAC] Compiling on OSX Lion / Xcode 4.1` - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [MAC] Compiling on OSX Lion / Xcode 4.1` (/showthread.php?tid=107126)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-10-02

Compiling from the beginning, I've got this too

Code:
./configure --with-darwin=osx --with-arch=x86_64
....
make
.....
cp: xbmc-pvr-addons-a6693d02b670a5f0a35c7e41d62250869a9e76b7/addons/pvr.fortherecord.argus/*.pvr: No such file or directory
Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
touch .installed


BR


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-10-02

Errors at finally step

Code:
xbmc/music/tags/TagLoaderTagLib.h:24:29: error: taglib/aifffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:25:28: error: taglib/apefile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:26:28: error: taglib/asffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:27:29: error: taglib/flacfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:28:27: error: taglib/itfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:29:28: error: taglib/modfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:30:28: error: taglib/mpcfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:31:28: error: taglib/mp4file.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:32:29: error: taglib/mpegfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:33:28: error: taglib/oggfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:34:32: error: taglib/oggflacfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:35:29: error: taglib/rifffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:36:30: error: taglib/speexfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:37:28: error: taglib/s3mfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:38:34: error: taglib/trueaudiofile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:39:31: error: taglib/vorbisfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:40:32: error: taglib/wavpackfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:41:27: error: taglib/xmfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:43:29: error: taglib/id3v2tag.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:44:32: error: taglib/xiphcomment.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:45:27: error: taglib/mp4tag.h: No such file or directory
.......
CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/MP3codec.o xbmc/cores/paplayer/MP3codec.cpp normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/i5Js/xbmc
.....
In file included from /Users/i5Js/xbmc/xbmc/cores/paplayer/MP3codec.cpp:25:
xbmc/music/tags/TagLoaderTagLib.h:24:29: error: taglib/aifffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:25:28: error: taglib/apefile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:26:28: error: taglib/asffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:27:29: error: taglib/flacfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:28:27: error: taglib/itfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:29:28: error: taglib/modfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:30:28: error: taglib/mpcfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:31:28: error: taglib/mp4file.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:32:29: error: taglib/mpegfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:33:28: error: taglib/oggfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:34:32: error: taglib/oggflacfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:35:29: error: taglib/rifffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:36:30: error: taglib/speexfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:37:28: error: taglib/s3mfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:38:34: error: taglib/trueaudiofile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:39:31: error: taglib/vorbisfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:40:32: error: taglib/wavpackfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:41:27: error: taglib/xmfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:43:29: error: taglib/id3v2tag.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:44:32: error: taglib/xiphcomment.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:45:27: error: taglib/mp4tag.h: No such file or directory
In file included from xbmc/music/tags/TagLoaderTagLib.h:46,
                 from /Users/i5Js/xbmc/xbmc/cores/paplayer/MP3codec.cpp:25:
xbmc/music/tags/TagLibVFSStream.h:24:30: error: taglib/tiostream.h: No such file or directory
In file included from xbmc/music/tags/TagLoaderTagLib.h:46,
                 from /Users/i5Js/xbmc/xbmc/cores/paplayer/MP3codec.cpp:25:
xbmc/music/tags/TagLibVFSStream.h:27: error: 'TagLib' is not a namespace-name
xbmc/music/tags/TagLibVFSStream.h:27: error: expected namespace-name before ';' token
xbmc/music/tags/TagLibVFSStream.h:32: error: expected class-name before '{' token
xbmc/music/tags/TagLibVFSStream.h:48: error: 'FileName' does not name a type
xbmc/music/tags/TagLibVFSStream.h:53: error: 'ByteVector' does not name a type
xbmc/music/tags/TagLibVFSStream.h:64: error: expected ',' or '...' before '&' token
xbmc/music/tags/TagLibVFSStream.h:64: error: ISO C++ forbids declaration of 'ByteVector' with no type
xbmc/music/tags/TagLibVFSStream.h:73: error: expected ',' or '...' before '&' token
xbmc/music/tags/TagLibVFSStream.h:73: error: ISO C++ forbids declaration of 'ByteVector' with no type
xbmc/music/tags/TagLibVFSStream.h:82: error: 'TagLib' has not been declared
xbmc/music/tags/TagLibVFSStream.h:82: error: expected ',' or '...' before 'start'
xbmc/music/tags/TagLibVFSStream.h:101: error: 'Position' has not been declared
xbmc/music/tags/TagLibVFSStream.h:127: error: 'TagLib' has not been declared
xbmc/music/tags/TagLibVFSStream.h:127: error: ISO C++ forbids declaration of 'uint' with no type
xbmc/music/tags/TagLibVFSStream.h:127: error: expected ';' before 'bufferSize'
xbmc/music/tags/TagLibVFSStream.h:101: error: 'Beginning' was not declared in this scope
In file included from /Users/i5Js/xbmc/xbmc/cores/paplayer/MP3codec.cpp:25:
xbmc/music/tags/TagLoaderTagLib.h:62: error: expected ',' or '...' before '::' token
xbmc/music/tags/TagLoaderTagLib.h:62: error: ISO C++ forbids declaration of 'TagLib' with no type
xbmc/music/tags/TagLoaderTagLib.h:63: error: expected ',' or '...' before '::' token
xbmc/music/tags/TagLoaderTagLib.h:63: error: ISO C++ forbids declaration of 'TagLib' with no type
xbmc/music/tags/TagLoaderTagLib.h:65: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:65: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:66: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:66: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:67: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:67: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:68: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:68: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:69: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:69: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:70: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:70: error: expected ',' or '...' before '*' token


** BUILD FAILED **


The following build commands failed:
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/FLACcodec.o xbmc/cores/paplayer/FLACcodec.cpp normal x86_64 c++ com.apple.compilers.llvmgcc42
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/MP3codec.o xbmc/cores/paplayer/MP3codec.cpp normal x86_64 c++ com.apple.compilers.llvmgcc42
(2 failures)



RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - Memphiz - 2012-10-03

You didn't bootstrap before doing the configure in depends.


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-10-03

(2012-10-03, 00:35)Memphiz Wrote: You didn't bootstrap before doing the configure in depends.

Yes I did, I just did again the hole process with the same result....

Thanks for all

BR


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - Memphiz - 2012-10-03

make -C tools/darwin/depends/taglib distclean && make -C tools/darwin/depends/taglib
make -C tools/darwin/depends/xbmc-pvr-addons distclean && make -C tools/darwin/depends/xbmc-pvr-addons
make -C tools/darwin/depends/xbmc

then your tree is stale and the above commands should work.


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-10-03

ooooook! I'will try when I arrived home!

Thanks!


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-10-03

no lucky Sad((

Code:
setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -O2 -Wreturn-type -Wunused-variable -Wsign-compare -DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_OSX -D_LINUX -D_REENTRANT -D_FILE_DEFINED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -DHAS_SDL_JOYSTICK -DHAVE_CONFIG_H -DHAS_SPC_CODEC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -funroll-loops -mmacosx-version-min=10.6 -gdwarf-2 -I/Users/i5Js/xbmc/build/XBMC.build/Release/XBMC.build/XBMC.hmap -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/libcec -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/mysql -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/freetype2 -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/python2.6 -I/Users/i5Js/xbmc/build/Release/include -I/Users/i5Js/xbmc -Ixbmc -Ixbmc/osx -Ixbmc/linux -Ixbmc/cores/dvdplayer -Ixbmc/cores/AudioEngine -Ixbmc/cores/AudioEngine/Utils -Ilib -Ilib/ffmpeg -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/libcec -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/mysql -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/freetype2 -I/Users/Shared/xbmc-depends/macosx10.7_x86_64/include/python2.6 -I/Users/i5Js/xbmc/build/XBMC.build/Release/XBMC.build/DerivedSources/x86_64 -I/Users/i5Js/xbmc/build/XBMC.build/Release/XBMC.build/DerivedSources -F/Users/i5Js/xbmc/build/Release -Wreorder -c /Users/i5Js/xbmc/xbmc/cores/paplayer/FLACcodec.cpp -o /Users/i5Js/xbmc/build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/FLACcodec.o
In file included from /Users/i5Js/xbmc/xbmc/cores/paplayer/FLACcodec.cpp:24:
xbmc/music/tags/TagLoaderTagLib.h:24:29: error: taglib/aifffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:25:28: error: taglib/apefile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:26:28: error: taglib/asffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:27:29: error: taglib/flacfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:28:27: error: taglib/itfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:29:28: error: taglib/modfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:30:28: error: taglib/mpcfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:31:28: error: taglib/mp4file.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:32:29: error: taglib/mpegfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:33:28: error: taglib/oggfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:34:32: error: taglib/oggflacfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:35:29: error: taglib/rifffile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:36:30: error: taglib/speexfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:37:28: error: taglib/s3mfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:38:34: error: taglib/trueaudiofile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:39:31: error: taglib/vorbisfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:40:32: error: taglib/wavpackfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:41:27: error: taglib/xmfile.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:43:29: error: taglib/id3v2tag.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:44:32: error: taglib/xiphcomment.h: No such file or directory
xbmc/music/tags/TagLoaderTagLib.h:45:27: error: taglib/mp4tag.h: No such file or directory
In file included from xbmc/music/tags/TagLoaderTagLib.h:46,
                 from /Users/i5Js/xbmc/xbmc/cores/paplayer/FLACcodec.cpp:24:
xbmc/music/tags/TagLibVFSStream.h:24:30: error: taglib/tiostream.h: No such file or directory
In file included from xbmc/music/tags/TagLoaderTagLib.h:46,
                 from /Users/i5Js/xbmc/xbmc/cores/paplayer/FLACcodec.cpp:24:
xbmc/music/tags/TagLibVFSStream.h:27: error: 'TagLib' is not a namespace-name
xbmc/music/tags/TagLibVFSStream.h:27: error: expected namespace-name before ';' token
xbmc/music/tags/TagLibVFSStream.h:32: error: expected class-name before '{' token
xbmc/music/tags/TagLibVFSStream.h:48: error: 'FileName' does not name a type
xbmc/music/tags/TagLibVFSStream.h:53: error: 'ByteVector' does not name a type
xbmc/music/tags/TagLibVFSStream.h:64: error: expected ',' or '...' before '&' token
xbmc/music/tags/TagLibVFSStream.h:64: error: ISO C++ forbids declaration of 'ByteVector' with no type
xbmc/music/tags/TagLibVFSStream.h:73: error: expected ',' or '...' before '&' token
xbmc/music/tags/TagLibVFSStream.h:73: error: ISO C++ forbids declaration of 'ByteVector' with no type
xbmc/music/tags/TagLibVFSStream.h:82: error: 'TagLib' has not been declared
xbmc/music/tags/TagLibVFSStream.h:82: error: expected ',' or '...' before 'start'
xbmc/music/tags/TagLibVFSStream.h:101: error: 'Position' has not been declared
xbmc/music/tags/TagLibVFSStream.h:127: error: 'TagLib' has not been declared
xbmc/music/tags/TagLibVFSStream.h:127: error: ISO C++ forbids declaration of 'uint' with no type
xbmc/music/tags/TagLibVFSStream.h:127: error: expected ';' before 'bufferSize'
xbmc/music/tags/TagLibVFSStream.h:101: error: 'Beginning' was not declared in this scope
In file included from /Users/i5Js/xbmc/xbmc/cores/paplayer/FLACcodec.cpp:24:
xbmc/music/tags/TagLoaderTagLib.h:62: error: expected ',' or '...' before '::' token
xbmc/music/tags/TagLoaderTagLib.h:62: error: ISO C++ forbids declaration of 'TagLib' with no type
xbmc/music/tags/TagLoaderTagLib.h:63: error: expected ',' or '...' before '::' token
xbmc/music/tags/TagLoaderTagLib.h:63: error: ISO C++ forbids declaration of 'TagLib' with no type
xbmc/music/tags/TagLoaderTagLib.h:65: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:65: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:66: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:66: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:67: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:67: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:68: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:68: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:69: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:69: error: expected ',' or '...' before '*' token
xbmc/music/tags/TagLoaderTagLib.h:70: error: 'TagLib' has not been declared
xbmc/music/tags/TagLoaderTagLib.h:70: error: expected ',' or '...' before '*' token


** BUILD FAILED **


The following build commands failed:
    CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/FLACcodec.o xbmc/cores/paplayer/FLACcodec.cpp normal x86_64 c++ com.apple.compilers.llvmgcc42
(1 failure)



RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - Memphiz - 2012-10-03

grep configure tools/darwin/depends/config.log


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-10-04

(2012-10-03, 23:54)Memphiz Wrote: grep configure tools/darwin/depends/config.log

Code:
running configure, to aid debugging if configure makes a mistake.
It was created by darwin-depends configure 2.00, which was
  $ ./configure --with-darwin=osx --with-arch=x86_64
Kernel configured for up to 2 processors.
configure:1765: result: found xcodebuild at /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
configure:1827: result: configuring for darwin macosx10.8
configure:1829: result: using the sdk path of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
configure:1831: result: creating hostroot at /Users/Shared/xbmc-depends
configure:1838: result: creating build toolchain at /Users/Shared/xbmc-depends/toolchain
configure:1842: result: creating tarball storage at /Users/Shared/xbmc-depends/tarballs
configure:1846: result: creating hostroot directories at /Users/Shared/xbmc-depends/macosx10.8_x86_64
configure:2008: creating ./config.status
configure:2981: result: setting up config.site files
configure:2985: result: setting up python26 Makefile
configure: exit 0



RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - davilla - 2012-10-04

-I/Users/Shared/xbmc-depends/macosx10.7_x86_64

yet you are 'configuring for darwin macosx10.8' and
creating hostroot directories at /Users/Shared/xbmc-depends/macosx10.8_x86_64

at some time in the past, you were building against 10.7sdk, then changed. BUT you did not set Xcode to 10.8sdk too.

The sdk uses MUST match in depends and in Xcode.




RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - Memphiz - 2012-10-04

I second that.


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - kostya4000 - 2012-10-04

compile the latest version of git for ipad and after the command:
Code:
sudo xcodebuild-project XBMC-IOS.xcodeproj-target XBMC-configuration Release build ONLY_ACTIVE_ARCH = YES ARCHS = armv7 VALID_ARCHS = armv7 IPHONEOS_DEPLOYMENT_TARGET = 4.1 SDKROOT = iphoneos4.2
en error
Code:
Ld build / Release-iphoneos / XBMC.app / XBMC.bin normal armv7
    cd / Users / cris / xbmc
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.1
    setenv PATH
    / Applications / Xcode.app / Contents / Developer / Toolchains / XcodeDefault.xctoolchain / usr / bin / clang + +-arch armv7-isysroot -L/Users/cris/xbmc/build/Release-iphoneos -L/Users/cris/xbmc -L/Users/cris/xbmc/lib/libRTV -L/Users/cris/xbmc/lib/libXDAAP -L/Users / cris / xbmc / lib / cmyth / libcmyth -L/Users/cris/xbmc/lib/cmyth/librefmem -L/Users/cris/xbmc/lib/libapetag/.libs -L/Users/cris/xbmc/lib / libsquish -L/Users/cris/xbmc/lib/SlingboxLib -L/Users/cris/xbmc/xbmc/interfaces/http-api -L/Users/cris/xbmc/xbmc/interfaces/json-rpc -L/Users / cris / xbmc / lib / ffmpeg / libavcodec -L/Users/cris/xbmc/lib/ffmpeg/libavutil -L/Users/cris/xbmc/lib/ffmpeg/libavformat -L/Users/cris/xbmc/lib/ffmpeg / libavfilter -L/Users/cris/xbmc/lib/ffmpeg/libavdevice -L/Users/cris/xbmc/lib/ffmpeg/libswresample -L/Users/cris/xbmc/lib/ffmpeg/libpostproc -L/Users/cris / xbmc / lib / ffmpeg / libswscale -L/Users/cris/xbmc/xbmc/interfaces -L/Users/cris/xbmc/xbmc/interfaces/legacy -L/Users/cris/xbmc/xbmc/interfaces/python-F / Users / cris / xbmc / build / Release-iphoneos -Filelist -Wl,-headerpad_max_install_names-Wl,-all_load -L/Users/Shared/xbmc-depends/iphoneos5.1_armv7/lib-lssh-llzo2-lpcre-lpcrecpp-lfribidi-lcdio-lfreetype-lfontconfig-lsqlite3-lsamplerate-ltinyxml-lmicrohttpd -lsmbclient-lpython2.6-lyajl-ljpeg-lcrypto-lgcrypt-lavdevice-lavfilter-lavcodec-lavformat-lpostproc-lavutil-lswresample-lswscale-ltag -L/Users/Shared/xbmc-depends/iphoneos5.1_armv7/lib/mysql -lmysqlclient-miphoneos-version-min = 4.1-framework QuartzCore-framework OpenGLES-framework UIKit-framework Foundation-liconv-lbz2-lz-lxml2-lncurses-framework CoreMedia-framework VideoToolbox-framework CoreAudio-framework CoreVideo-framework AudioToolbox-framework CoreGraphics -framework ImageIO-framework CFNetwork-lapetag-lsquish-lrtv-lxdaap / Users / cris / xbmc / lib / SlingboxLib / SlingboxLib.a / Users / cris / xbmc / xbmc / interfaces / legacy / legacy.a / Users / cris / xbmc / xbmc / interfaces / python / python_binding.a-o / Users / cris / xbmc / build / Release-iphoneos / XBMC.app / XBMC.bin
Undefined symbols for architecture armv7:
  referenced from:
      in Peripherals.o
ld: symbol (s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use-v to see invocation)


** BUILD FAILED **


The following build commands failed:
Ld build / Release-iphoneos / XBMC.app / XBMC.bin normal armv7
(1 failure)



RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - Memphiz - 2012-10-04

1. You are not compiling for osx
2. You are not using Xcode4.1
3. You are most likly not even running lion on your compile machine
4. Thread highjacking is illegal

Get the **** out of here and get your own thread.

PS: You compiled depends against 5.1 SDK and call XBMC with 4.2 SDK. <- Not only your build but also YOU FAILED! Big Grin


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - davilla - 2012-10-04

HAHAHA, Memphiz gets pissed Smile


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-10-05

(2012-10-04, 02:10)davilla Wrote: -I/Users/Shared/xbmc-depends/macosx10.7_x86_64

yet you are 'configuring for darwin macosx10.8' and
creating hostroot directories at /Users/Shared/xbmc-depends/macosx10.8_x86_64

at some time in the past, you were building against 10.7sdk, then changed. BUT you did not set Xcode to 10.8sdk too.

The sdk uses MUST match in depends and in Xcode.

Thanks Davilla and Memphiz, It's working now.

BR.