[sldev] Compile problem on Mac

Christian Scholz / Tao Takashi (SL) tao.takashi at googlemail.com
Mon Jul 28 02:06:47 PDT 2008


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?

Thanks,

Tao



-- 
Christian Scholz
Tao Takashi (Second Life name)
taotakashi at gmail.com
Blog/Podcast: http://mrtopf.de/blog
Planet: http://worldofsl.com

Company: http://comlounge.net
Tech Video Blog: http://comlounge.tv
IRC: MrTopf/Tao_T


More information about the SLDev mailing list