[opensource-dev] Errors while building SL viewer

Nicky Perian nickyperian at yahoo.com
Wed May 1 09:43:19 PDT 2013


I'm guessing it has been awhile since you built a viewer. Another guess it is not an SL viewer as you are looking for HACD.

Suggest you look at Dolphin, Firestorm, or Kokua and sort out the library changes from their sources.

Nicky


>________________________________
> From: Laurent Bechir <laurent.bechir at madonie.org>
>To: opensource-dev at lists.secondlife.com 
>Sent: Wednesday, May 1, 2013 8:48 AM
>Subject: Re: [opensource-dev] Errors while building SL viewer
> 
>
>
>
>
>Error message has changed, but here is still one message :
>
>
>ld: warning: directory '/Volumes/Maison/laurent/Documents/Secondlife/Kirsten/linden/build-darwin-i386/packages/lib/release/Release' following -L not found
>Undefined symbols:
>  "HACD::HACD::HACD()", referenced from:
>      LLConvexDecompositionImpl::genDecomposition(int&)    in libllconvexdecomposition.a(LLConvexDecompositionStubImpl.o)
>      LLConvexDecompositionImpl::genDecomposition(int&)    in libllconvexdecomposition.a(LLConvexDecompositionStubImpl.o)
>  "HACD::HACD::~HACD()", referenced from:
>      LLConvexDecompositionImpl::deleteDecomposition(int)    in libllconvexdecomposition.a(LLConvexDecompositionStubImpl.o)
>ld: symbol(s) not found
>collect2: ld returned 1 exit status
>
>
>What I have done :
>
>
>I've built llconvexdecomposition from : 
>
>
>https://bitbucket.org/WolfpupL/llconvexdecompositionos/src
>
>
>I've ended up with libllconvexdecompositionstub.a which I've put in packages/lib, packages/lib/release, and for the debug version in packages/lib/debug. Since it didn't work, I've made a copy of it and renamed it libllconvexdecomposition.a. Now I get this error message. Anyone to help me fullfill my dream of building this release on this beautiful May 1st day :)
>
>
>
>Le 30 avr. 2013 à 22:58, Laurent Bechir a écrit :
>
>
>>
>>I've fixed this error. There was a line missing in llsdmessagereader.cpp :
>>
>>
>>default:                        // TypeLLSDTypeEnd, TypeLLSDNumTypes, etc.
>>
>>
>>at the end of the switch part line 270.
>>
>>
>>I have another error message :
>>
>>
>>ld: library not found for -lllconvexdecomposition
>>collect2: ld returned 1 exit status
>>Command /Developer/usr/bin/g++-4.2 failed with exit code 1
>>hel
>>
>>
>>hacd-darwin-20111130b for the libraries and the include files that I've put respectively in build-darwin-i386/packages/lib and build-darwin-i386/packages/include. I have 
>>
>>
>>kConvexDecomposition.h
>>llconvexdecomposition.h
>>ndConvexDecomposition.h
>>
>>
>>in include
>>
>>
>>libk_hacdConvexDecomposition.a
>>libnd_hacdConvexDecomposition.a
>>
>>
>>in lib
>>
>>
>>Is it the good files ? If yes, where should I put them to have them discovered by ld. If no, which version of convexdecomposition I should use in a third party build ?
>>
>>
>>Thank you
>>
>>Le 29 avr. 2013 à 02:24, Laurent Bechir a écrit :
>>
>>
>>>Hello,
>>>
>>>I'm trying to build Kirten's viewer for my Mac and I get this error message :
>>>
>>>llsdmessagereader.cpp:270: warning: enumeration value 'TypeLLSDNumTypes' not handled in switch
>>>llsdmessagereader.cpp:270: warning: enumeration value 'TypeLLSDTypeEnd' not handled in switch
>>>
>>>I've tried to look in llsdmessagereader.cpp, llsdmessagereader.h, llsd.h and llsd.cpp, but I don't know what to do to fix that error. Any idea, please ?
>>>
>>>Thank you
>>_______________________________________________
>>Policies and (un)subscribe information available here:
>>http://wiki.secondlife.com/wiki/OpenSource-Dev
>>Please read the policies before posting to keep unmoderated posting privileges
>
>_______________________________________________
>Policies and (un)subscribe information available here:
>http://wiki.secondlife.com/wiki/OpenSource-Dev
>Please read the policies before posting to keep unmoderated posting privileges
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20130501/824b97d4/attachment.htm 


More information about the opensource-dev mailing list