Cool VL Viewer forum
http://sldev.free.fr/forum/

Error compiling 1.26.6.18
http://sldev.free.fr/forum/viewtopic.php?f=5&t=1154
Page 1 of 1

Author:  Jessica Hultcrantz [ 2013-04-08 19:13:25 ]
Post subject:  Error compiling 1.26.6.18

Hi Henri.

I've been compiling from source for some time now without any issues, but ran into something today with 1.26.6.18.
I don't know if 1.26.6.17 was affected or not because I never got around to do that one. However 1.26.6.16 compiles just fine without errors.

Snap from console output in the end of compilation:
Code:
[ 97%] Building CXX object newview/CMakeFiles/secondlife-bin.dir/llvowater.cpp.o                                                                                                                   
cc1plus: warnings being treated as errors                                                                                                                                                           
/root/COOL_VL/linden/indra/newview/llvovolume.cpp: In member function 'void LLRiggedVolume::update(const LLMeshSkinInfo*, LLVOAvatar*, const LLVolume*)':
/root/COOL_VL/linden/indra/newview/llvovolume.cpp:4031: error: 'src.LLMatrix4a::mMatrix[3].LLVector4a::mQ' may be used uninitialized in this function
/root/COOL_VL/linden/indra/newview/llvovolume.cpp:4031: error: 'src.LLMatrix4a::mMatrix[2].LLVector4a::mQ' may be used uninitialized in this function
/root/COOL_VL/linden/indra/newview/llvovolume.cpp:4031: error: 'src.LLMatrix4a::mMatrix[1].LLVector4a::mQ' may be used uninitialized in this function
/root/COOL_VL/linden/indra/newview/llvovolume.cpp:4031: error: 'src.LLMatrix4a::mMatrix[0].LLVector4a::mQ' may be used uninitialized in this function
make[2]: *** [newview/CMakeFiles/secondlife-bin.dir/llvovolume.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/root/COOL_VL/linden/indra/viewer-linux-i686-release'
make[1]: *** [newview/CMakeFiles/secondlife-bin.dir/all] Error 2
make[1]: Leaving directory `/root/COOL_VL/linden/indra/viewer-linux-i686-release'
make: *** [all] Error 2
make: Leaving directory `/root/COOL_VL/linden/indra/viewer-linux-i686-release'
Error: the command 'make' exited with status 2


Any idea what's up?

Author:  Henri Beauchamp [ 2013-04-08 20:06:31 ]
Post subject:  Re: Error compiling 1.26.6.18

This is just gcc being a bitch. I use gcc v4.3.2 to compile the published releases and gcc v4.4.3 to compile custom/test releases. If your version of gcc is newer, it might be more anal and issue more warnings (that are treated as error by default). To compile the viewer, ignore the warnings, by replacing:
Code:
./develop.py --type=Release configure

with:
Code:
./develop.py --type=Release configure -DGCC_DISABLE_FATAL_WARNINGS:BOOL=TRUE

in linden/indra/buildlinux.sh

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/