Issue building with Xcode 4.5.2

I’m trying to compile / build the laika branch using Xcode 4.5.2 running on OS X 10.8.2 (Mountain Lion)



I’m having a couple of issues:

  1. If I try and run bootstrap.py before doing anything I see these errors:



-> Updating submodules<br />
./bootstrap: line 1: autoconf: command not found<br />
-> Configuring vendor dependencies<br />
Traceback (most recent call last):<br />
  File "bootstrap.py", line 160, in <module><br />
    main()<br />
  File "bootstrap.py", line 145, in main<br />
    bootstrap_dependencies()<br />
  File "bootstrap.py", line 118, in bootstrap_dependencies<br />
    cwd = working_dir)<br />
  File "bootstrap.py", line 45, in run_cmd<br />
    stdout = subprocess.PIPE, stderr = subprocess.STDOUT)<br />
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__<br />
    errread, errwrite)<br />
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child<br />
    raise child_exception<br />
OSError: [Errno 2] No such file or directory<br />




If I just build the project in Xcode then it fails with the following error:


CompileC /Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Intermediates/Plex.build/Debug/Plex.build/Objects-normal/i386/AC3CDDACodec.o xbmc/cores/paplayer/AC3CDDACodec.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler<br />
    cd /Users/markwarren/Dev/PLEX/plex<br />
    setenv LANG en_US.US-ASCII<br />
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-format -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -D_DEBUG -D_LINUX -D_REENTRANT -D_FILE_DEFINED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -DHAVE_CONFIG_H -DHAS_SPC_CODEC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wno-deprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.6 -g -Wno-sign-conversion -I/Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Intermediates/Plex.build/Debug/Plex.build/Plex.hmap -I. -Ixbmc/cores/dvdplayer/Codecs/ffmpeg -Ivendor/osx-10.6_i386/include -I/usr/X11R6/include -I/usr/X11/include/freetype2 -I/Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Products/Debug/include -I/Users/markwarren/Dev/PLEX/plex -Iplex -Iguilib -Ixbmc -Ixbmc/osx -Ixbmc/linux -Ixbmc/cores -Ixbmc/cores/dvdplayer -Ixbmc/utils -Ixbmc/lib -Ilib/jsoncpp/jsoncpp/include -Ilib/cpluff/libcpluff -Ilib/libmicrohttpd/src/include -Iplex/GUI -Ilib/freetype/include -I/Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Intermediates/Plex.build/Debug/Plex.build/DerivedSources/i386 -I/Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Intermediates/Plex.build/Debug/Plex.build/DerivedSources -Wno-gnu -Wno-write-strings -Wno-multichar -Wno-overflow -F/Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Products/Debug -MMD -MT dependencies -MF /Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Intermediates/Plex.build/Debug/Plex.build/Objects-normal/i386/AC3CDDACodec.d --serialize-diagnostics /Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Intermediates/Plex.build/Debug/Plex.build/Objects-normal/i386/AC3CDDACodec.dia -c /Users/markwarren/Dev/PLEX/plex/xbmc/cores/paplayer/AC3CDDACodec.cpp -o /Users/markwarren/Library/Developer/Xcode/DerivedData/Plex-cfmleolhhhbcecemtjbyvhzzqzmc/Build/Intermediates/Plex.build/Debug/Plex.build/Objects-normal/i386/AC3CDDACodec.o<br />
<br />
In file included from /Users/markwarren/Dev/PLEX/plex/xbmc/cores/paplayer/AC3CDDACodec.cpp:22:<br />
/Users/markwarren/Dev/PLEX/plex/guilib/system.h:25:10: fatal error: '../config.h' file not found<br />
#include "../config.h"<br />
         ^<br />
1 error generated.<br />




Can anyone help me as to why I'm seeing these two errors and how to fix them, or is there an up-to-date guide on how to obtain and build PLEX using Xcode 4.5.2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.