[sldev] Compile problem on Mac
Soft
soft at lindenlab.com
Mon Jul 28 06:45:24 PDT 2008
Hopefully someone else will reply back with information on how to get
more debug information. I'm very new to cmake myself.
For the current problem though - I just did an export set against
release and I'm not getting this pause. You say that the problem
happens around the fmod point. Is it possible that you haven't copied
fmod into place, and that our cmake scripts don't do a proper job of
detecting this and halting?
Per the wiki, we don't distribute fmod ourselves because of license
concerns. At current, those have to be copied in place manually. We
should probably add a standard place where those can be installed and
checked as part of the cmake process.
On Mon, Jul 28, 2008 at 8:30 AM, Christian Scholz / Tao Takashi (SL)
<tao.takashi at googlemail.com> wrote:
> Ok, now that you mention it I also saw that note. Thanks.
>
> It does not help though, now the output with --debug-output is:
>
> $ python develop.py
> Running 'cmake --debug-output -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'
> Running with debug output on.
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: /usr/bin/g++
> -- Check for working CXX compiler: /usr/bin/g++ -- works
>
> I deleted and re-downloaded the source again and I also deleted the
> CMake-2.6 in /Applications/
>
> Any further ideas maybe? Also maybe on how to get more debugging output?
>
>
> On Mon, Jul 28, 2008 at 2:55 PM, Soft <soft at lindenlab.com> wrote:
>>
>> Would you please try with cmake 2.4.8? 2.6.x is not yet supported.
>>
>> 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?
More information about the SLDev
mailing list