Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2021-12-07 18:38:29



Reply to topic  [ 2 posts ] 
Error compiling 1.26.6.18 
Author Message

Joined: 2012-08-08 17:51:35
Posts: 65
Reply with quote
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?


2013-04-08 19:13:25
Profile

Joined: 2009-03-17 18:42:51
Posts: 4776
Reply with quote
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


2013-04-08 20:06:31
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.