[sldev] CMake preview available - please try it out!

Robin Cornelius robin.cornelius at gmail.com
Thu Jan 31 10:42:50 PST 2008


Bryan O'Sullivan wrote:
> Robin Cornelius wrote:
> 
>> in fact setting STANDALONE:BOOL=TRUE does not pull in openjpeg unless
>> you also specify:-
>>
>> -DOPENJPEG_LIBRARY:STRING='/usr/lib/libopenjpeg.so'
>> -DOPENJPEG_INCLUDE_DIR:STRING='/usr/include/'
>>
>> when running cmake directly eg not via cmake.py.
> 
> That's a bit odd.  You can see where it's looking by checking
> cmake/FindOpenJPEG.cmake and cmake/OpenJPEG.cmake.  You might need to
> add some debug statements there to figure out why it's not being picked up.

Hi Bryan,

Yes it did seem a bit odd. Must be something about my setup or the way i
am calling cmake?. I will try to debug this to find out if its just me
or a real bug. Openjpeg is too important.

> 
>> This has resulted in a compiled and linked executable, now i just need
>> to find a way to stop automatic packaging of the viewer into a
>> tarball.
> 
> make -C my_build_dir/newview secondlife-bin
> 
>> Is there an easy way to disable this? 
> 
> You don't need to disable it, it's just the default target.  Build the
> secondlife-bin target explicitly instead, as above, and it won't be
> picked up.
> 

Ah, cool. This is quite elegant now in some ways. I had missed that fact
 getting lost in following what happens and the code path through cmake.

I've almost finished beating cmake into submission ;-)

With my cmake tests i have found an issue with the way i apply the
gstreamer/openal streaming audio patch. The whole patch probably needs
re-factoring so all the streaming stuff is handled in llmedia/ and not
in llaudio/ or you end up having dam gstreamer dependencies all over the
place.

Robin




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20080131/9b6765c2/signature-0001.pgp


More information about the SLDev mailing list