[sldev] Compile problem on Mac

Soft soft at lindenlab.com
Mon Jul 28 05:55:39 PDT 2008


On Mon, Jul 28, 2008 at 4:06 AM, Christian Scholz / Tao Takashi (SL)
<tao.takashi at googlemail.com> wrote:
> Hi there!
>
> Today I was trying to compile the interop4-branch of the viewer but I
> ran into a problem.
> I followed the instructions on http://wiki.secondlife.com/wiki/CMake
> but it fails already when
> doing the develop.py step. What I do:
>
> $ svn co ...
> $ cd indra
> $ python2.5 develop.py
>
> It then says:
>
> Running 'cmake -G \'Xcode\' -DCMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO
> -DSTANDALONE:BOOL=FALSE -DUNATTENDED:BOOL=FALSE  ""
> \'/Users/cs/prj/secondlife/pyogp/llviewer/interop-4/indra\'' in
> 'build-darwin-i386'
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/g++
> -- Check for working CXX compiler: /usr/bin/g++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Found PythonInterp: /usr/bin/python2.5
> Found matching package:
> /private/var/tmp/cs/install.cache/ogg-vorbis-1.03-1.1.2-darwin-20080613.tar.bz2
> Extracting /private/var/tmp/cs/install.cache/ogg-vorbis-1.03-1.1.2-darwin-20080613.tar.bz2
> to /Users/cs/prj/secondlife/pyogp/llviewer/interop-4
> Writing state to /Users/cs/prj/secondlife/pyogp/llviewer/interop-4/installed.xml
>
> and hangs, nothing seems to happen anymore.
>
> I tried to debug this as far as I can with no CMake knowledge and the problem
> seems to be in the FMOD part. With --debug-output I get:
>
> -- Found PythonInterp: /usr/bin/python2.5
>   Called from: [5]     /Applications/CMake
> 2.6-0.app/Contents/share/cmake-2.6/Modules/FindPythonInterp.cmake
>                [4]
> /Users/cs/prj/secondlife/pyogp/llviewer/interop-4/indra/cmake/Python.cmake
>                [3]
> /Users/cs/prj/secondlife/pyogp/llviewer/interop-4/indra/cmake/Prebuilt.cmake
>                [2]
> /Users/cs/prj/secondlife/pyogp/llviewer/interop-4/indra/cmake/Audio.cmake
>                [1]
> /Users/cs/prj/secondlife/pyogp/llviewer/interop-4/indra/llaudio/CMakeLists.txt
>
> And the next line in the CMakeLists.txt seems to be FMOD. When moving
> this up it also hangs earlier.
>
> My OS is Mac OSX 10.5.4 on an Intel Macbook Pro.
>
> Any idea what the problem might be?


Would you please try with cmake 2.4.8? 2.6.x is not yet supported.


More information about the SLDev mailing list