[opensource-dev] "viewer-beta" fails to build
Hi folks, I'm trying to build the current beta source from viewer-beta repo: [ 70%] Building CXX object newview/CMakeFiles/secondlife- bin.dir/llmimetypes.o /usr/src/packages/BUILD/viewer- beta/indra/newview/llmeshrepository.cpp: In member function 'void LLPhysicsDecomp::setMeshData(LLCDMeshData&, bool)': /usr/src/packages/BUILD/viewer- beta/indra/newview/llmeshrepository.cpp:2921:80: error: no matching function for call to 'LLConvexDecomposition::setMeshData(LLCDMeshData*, bool&)' /usr/src/packages/BUILD/viewer-beta/build-linux- i686/packages/include/llconvexdecomposition.h:178:21: note: candidate is: virtual LLCDResult LLConvexDecomposition::setMeshData(const LLCDMeshData*) /usr/src/packages/BUILD/viewer- beta/indra/newview/llmeshrepository.cpp: In member function 'void LLPhysicsDecomp::doDecompositionSingleHull()': /usr/src/packages/BUILD/viewer- beta/indra/newview/llmeshrepository.cpp:3132:27: error: 'class LLConvexDecomposition' has no member named 'buildSingleHull' /usr/src/packages/BUILD/viewer- beta/indra/newview/llmeshrepository.cpp:3149:10: error: 'class LLConvexDecomposition' has no member named 'getSingleHull' [ 70%] Building CXX object newview/CMakeFiles/secondlife- bin.dir/llmorphview.o make[2]: *** [newview/CMakeFiles/secondlife- bin.dir/llmeshrepository.o] Error 1 make[2]: *** Waiting for unfinished jobs make[1]: *** [newview/CMakeFiles/secondlife-bin.dir/all] Error 2 make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.nfOvxt (%build) viewer-development and viewer-release build just fine. any hints? bye, LC ___ 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
Re: [opensource-dev] "viewer-beta" fails to build
On 2011-08-24 10:45, Lance Corrimal wrote: > Hi folks, > > I'm trying to build the current beta source from viewer-beta repo: > > > viewer-development and viewer-release build just fine. > > any hints? The viewer-beta repo doesn't have the fix for OPEN-107 yet. It will get there in due course... ___ 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
Re: [opensource-dev] "viewer-beta" fails to build
>From looking @ the log you provided it looks like it is not building witht the fix that added from OPEN-107. My suggestion would be to copy the hash and link information from the current viewer-development tip for llconvexdecompositionstub over to the beta branch autobuild .xml so that it is using the updated stub. > -Original Message- > From: opensource-dev-boun...@lists.secondlife.com [mailto:opensource-dev- > boun...@lists.secondlife.com] On Behalf Of Lance Corrimal > Sent: Wednesday, August 24, 2011 10:46 AM > To: opensource-dev@lists.secondlife.com > Subject: [opensource-dev] "viewer-beta" fails to build > > Hi folks, > > I'm trying to build the current beta source from viewer-beta repo: > > [ 70%] Building CXX object newview/CMakeFiles/secondlife- > bin.dir/llmimetypes.o > /usr/src/packages/BUILD/viewer- > beta/indra/newview/llmeshrepository.cpp: In member function 'void > LLPhysicsDecomp::setMeshData(LLCDMeshData&, bool)': > /usr/src/packages/BUILD/viewer- > beta/indra/newview/llmeshrepository.cpp:2921:80: error: no matching > function for call to > 'LLConvexDecomposition::setMeshData(LLCDMeshData*, bool&)' > /usr/src/packages/BUILD/viewer-beta/build-linux- > i686/packages/include/llconvexdecomposition.h:178:21: note: candidate > is: virtual LLCDResult LLConvexDecomposition::setMeshData(const > LLCDMeshData*) > /usr/src/packages/BUILD/viewer- > beta/indra/newview/llmeshrepository.cpp: In member function 'void > LLPhysicsDecomp::doDecompositionSingleHull()': > /usr/src/packages/BUILD/viewer- > beta/indra/newview/llmeshrepository.cpp:3132:27: error: 'class > LLConvexDecomposition' has no member named 'buildSingleHull' > /usr/src/packages/BUILD/viewer- > beta/indra/newview/llmeshrepository.cpp:3149:10: error: 'class > LLConvexDecomposition' has no member named 'getSingleHull' > [ 70%] Building CXX object newview/CMakeFiles/secondlife- > bin.dir/llmorphview.o > make[2]: *** [newview/CMakeFiles/secondlife- > bin.dir/llmeshrepository.o] Error 1 > make[2]: *** Waiting for unfinished jobs > make[1]: *** [newview/CMakeFiles/secondlife-bin.dir/all] Error 2 > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.nfOvxt (%build) > > > viewer-development and viewer-release build just fine. > > any hints? > > > bye, > LC > ___ > 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 > - > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1392 / Virus Database: 1520/3854 - Release Date: 08/24/11 ___ 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
Re: [opensource-dev] "viewer-beta" fails to build
For information, here is a change I made recently that does not include any third party thing, just enough to get by. https://bitbucket.org/lindenlab/llconvexdecompositionstub/pull-request/2/allows-build-and-upload-with-current-mesh Use as you wish. (Also added to OPEN-107 which I didn't know about until now.) On 2011-08-24, at 16:29, Brendan Wilson wrote: > From looking @ the log you provided it looks like it is not building witht > the fix that added from OPEN-107. > My suggestion would be to copy the hash and link information from the > current viewer-development tip for llconvexdecompositionstub over to the > beta branch autobuild .xml so that it is using the updated stub. > >> -Original Message- >> From: opensource-dev-boun...@lists.secondlife.com [mailto:opensource-dev- >> boun...@lists.secondlife.com] On Behalf Of Lance Corrimal >> Sent: Wednesday, August 24, 2011 10:46 AM >> To: opensource-dev@lists.secondlife.com >> Subject: [opensource-dev] "viewer-beta" fails to build >> >> Hi folks, >> >> I'm trying to build the current beta source from viewer-beta repo: >> >> [ 70%] Building CXX object newview/CMakeFiles/secondlife- >> bin.dir/llmimetypes.o >> /usr/src/packages/BUILD/viewer- >> beta/indra/newview/llmeshrepository.cpp: In member function 'void >> LLPhysicsDecomp::setMeshData(LLCDMeshData&, bool)': >> /usr/src/packages/BUILD/viewer- >> beta/indra/newview/llmeshrepository.cpp:2921:80: error: no matching >> function for call to >> 'LLConvexDecomposition::setMeshData(LLCDMeshData*, bool&)' >> /usr/src/packages/BUILD/viewer-beta/build-linux- >> i686/packages/include/llconvexdecomposition.h:178:21: note: candidate >> is: virtual LLCDResult LLConvexDecomposition::setMeshData(const >> LLCDMeshData*) >> /usr/src/packages/BUILD/viewer- >> beta/indra/newview/llmeshrepository.cpp: In member function 'void >> LLPhysicsDecomp::doDecompositionSingleHull()': >> /usr/src/packages/BUILD/viewer- >> beta/indra/newview/llmeshrepository.cpp:3132:27: error: 'class >> LLConvexDecomposition' has no member named 'buildSingleHull' >> /usr/src/packages/BUILD/viewer- >> beta/indra/newview/llmeshrepository.cpp:3149:10: error: 'class >> LLConvexDecomposition' has no member named 'getSingleHull' >> [ 70%] Building CXX object newview/CMakeFiles/secondlife- >> bin.dir/llmorphview.o >> make[2]: *** [newview/CMakeFiles/secondlife- >> bin.dir/llmeshrepository.o] Error 1 >> make[2]: *** Waiting for unfinished jobs >> make[1]: *** [newview/CMakeFiles/secondlife-bin.dir/all] Error 2 >> make: *** [all] Error 2 >> error: Bad exit status from /var/tmp/rpm-tmp.nfOvxt (%build) >> >> >> viewer-development and viewer-release build just fine. >> >> any hints? >> >> >> bye, >> LC >> ___ >> 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 >> - >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 10.0.1392 / Virus Database: 1520/3854 - Release Date: 08/24/11 > > ___ > 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
[opensource-dev] How to upload a mesh on v-d rev 20205 ?
Hi all, So I have tried to upload a mesh on a viewer built from v-d rev 20205 (the latest I could find, with the llconvexdecomposition fix). I click on Build > Upload > Model..., I get the dialog to select a .dae file, when I select it I get the model upload window, so far so good. But when I press on the "calculate weights & fee" button, I get some kind of overlay debug message saying "Mesh Uploads: 0" (on a side note that message stacks on others and I don't know how to clear it without reloading, I see in the code that it's a "temporary hack", but it has made its way into the official viewer v3.0.3 as well), and nothing happens. The upload fee stays "TBD", as well as "download", "physics" and "server", and the Upload button never becomes available. I guess my viewer never receives the response from the sim. I have made the exact same manipulation on the official v3.0.3 with the same mesh and succeeded, the price came right through and I got a "Mesh Uploads: 1" message. Is there something I need to do in my viewer for it to work ? Is it a matter of channel ? Am I missing something there ? Thanks in advance, Marine ___ 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
Re: [opensource-dev] How to upload a mesh on v-d rev 20205 ?
On 2011-08-24 14:47, Marine Kelley wrote: > So I have tried to upload a mesh on a viewer built from v-d rev 20205 > (the latest I could find, with the llconvexdecomposition fix). > [...] > Is there something I need to do in my viewer for it to work ? Is it a > matter of channel ? Am I missing something there ? Yes... you're missing the (commercial) Havok library that we use to create the convex decomposition of the model. The short version is that unless you license Havok, you can't build a viewer today that does model uploads. A few people have been working on an open source solution - watch OPEN-105. ___ 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
Re: [opensource-dev] How to upload a mesh on v-d rev 20205 ?
Thanks... I wouldn't have guessed that all by myself. lol. I see on that JIRA entry that I'm not the only one who is confused one about this issue. I'll give a try to the open source version when able, it seems promising. Marine On 24/08/2011, Oz Linden (Scott Lawrence) wrote: > On 2011-08-24 14:47, Marine Kelley wrote: >> So I have tried to upload a mesh on a viewer built from v-d rev 20205 >> (the latest I could find, with the llconvexdecomposition fix). >> [...] >> Is there something I need to do in my viewer for it to work ? Is it a >> matter of channel ? Am I missing something there ? > > Yes... you're missing the (commercial) Havok library that we use to > create the convex decomposition of the model. > > The short version is that unless you license Havok, you can't build a > viewer today that does model uploads. > > A few people have been working on an open source solution - watch OPEN-105. > > > > ___ > 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
Re: [opensource-dev] How to upload a mesh on v-d rev 20205 ?
Sounds like the message handling should be improved for viewers that cannot upload. Even better would be to gray out the menu item. On Wed, Aug 24, 2011 at 3:49 PM, Marine Kelley wrote: > Thanks... I wouldn't have guessed that all by myself. lol. > > I see on that JIRA entry that I'm not the only one who is confused one > about this issue. I'll give a try to the open source version when > able, it seems promising. > > Marine > > On 24/08/2011, Oz Linden (Scott Lawrence) wrote: >> On 2011-08-24 14:47, Marine Kelley wrote: >>> So I have tried to upload a mesh on a viewer built from v-d rev 20205 >>> (the latest I could find, with the llconvexdecomposition fix). >>> [...] >>> Is there something I need to do in my viewer for it to work ? Is it a >>> matter of channel ? Am I missing something there ? >> >> Yes... you're missing the (commercial) Havok library that we use to >> create the convex decomposition of the model. >> >> The short version is that unless you license Havok, you can't build a >> viewer today that does model uploads. >> >> A few people have been working on an open source solution - watch OPEN-105. >> >> >> >> ___ >> 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 > ___ 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
[opensource-dev] New Mesh servers made incompatible with v2 Mesh viewers ???
Greetings, I'm putting the finishing touch to the first alpha release of the Cool VL Viewer v1.26.1, which is a v1 UI viewer with Mesh rendering support. I finally got everything to compile and run fine (basically, I ported the whole v2.6-mesh renderer, and of course all the mesh code), but it fails to render meshes: the mesh objects stay as oblong prims, the mesh repository doesn't fetch any mesh data from the network, and I get plenty of "createNewParameterEntry: Unknown param type #96" messages in the log file... I checked and rechecked my backport against v2.6-mesh and v2.7.4, and after a few hours, I was sure I didn't miss anything. So, I launched the last official mesh viewer I donwloaded (v2.7.2), and it happens that it shows the exact same symptoms !!! I'm now wondering if the new Mesh servers implementation was not made incompatible with pre-v3 viewers. If the answer is yes, please tell me before I loose some more hours searching through megabytes of diffs to find out what changed. A pointer to what should be modified to be able to fetch mesh data again would also be nice ! Thanks in advance, Henri. ___ 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
Re: [opensource-dev] New Mesh servers made incompatible with v2 Mesh viewers ???
On Wed, Aug 24, 2011 at 9:01 PM, Henri Beauchamp wrote: > Greetings, > If the answer is yes, please tell me before I loose some more hours > searching through megabytes of diffs to find out what changed. > > A pointer to what should be modified to be able to fetch mesh data > again would also be nice ! There were two major changes to mesh since the first release on Aditi of it. One was the original mesh asset was being sent as a sculpt with a sub type of mesh and then the sculptID was being used as the UUID for the mesh asset which would then be fetched. The problem here was non mesh viewers would try to show a sculpt and use the UUID as a texture and some crashed because of this. The second change was the names of lod/physics info inside the mesh asset LLSD was tweaked around, i can't recall the exact change but it was something trivial like "high_lod" became "highest_lod" Hope that gets you going in the right direction and saves some dfiffing Robin ___ 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
[opensource-dev] TPV developers -- register your viewer with Nvidia for Optimus support
I just sent this to the TPV mailing list but am not sure if it will reach everyone who should see it, so here goes again: -- I just tried a TPV on my new laptop which has Optimus technology (a slow video chip and a more powerful video card) and was wondering for a moment why it was running with such a slow frame rate before remembering I had to manually add the program to the Optimus control panel to always use the fast graphics card. As more and more people get computers with this technology you will start to get more support messages. The solution to this is to register your TPV with Nvidia. See https://jira.secondlife.com/browse/VWR-26533 (All Second Life viewers are incompatible with Nvidia Optimus technology) and my comment there from 15/Aug/11. -Jonathan ___ 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
Re: [opensource-dev] How to upload a mesh on v-d rev 20205 ?
Marine Kelley wrote: > Thanks... I wouldn't have guessed that all by myself. lol. > I see on that JIRA entry that I'm not the only one who is confused one > about this issue. I'll give a try to the open source version when > able, it seems promising. You might want to look at what Kirsten has done - his client claims upload capability compatible with the sandboxes as of LL version 2.8.2, but apparently there have been some changes since then, as Henri's post mentioned, so you'll likely need to adjust it a bit, as Kirsten will most likely need to once he gets back from vacation. ___ 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
Re: [opensource-dev] New Mesh servers made incompatible with v2 Mesh viewers ???
On 2011-08-24 16:01, Henri Beauchamp wrote: > I checked and rechecked my backport against v2.6-mesh and v2.7.4, and > after a few hours, I was sure I didn't miss anything. So, I launched > the last official mesh viewer I donwloaded (v2.7.2), and it happens that > it shows the exact same symptoms !!! > > I'm now wondering if the new Mesh servers implementation was not made > incompatible with pre-v3 viewers. > > If the answer is yes, please tell me before I loose some more hours > searching through megabytes of diffs to find out what changed. Yes. > A pointer to what should be modified to be able to fetch mesh data > again would also be nice ! Version 3.0.0 of our viewer code. https://bitbucket.org/lindenlab/viewer-development/src/b0be6ce3adfe ___ 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
Re: [opensource-dev] New Mesh servers made incompatible with v2 Mesh viewers ???
Thanks, folks ! I indeed found the changes: one in llprimitve.h, as pointed to by Armin (new PARAMS_MESH type) and another in llviewerobject.cpp (where unpackParameterEntry() translates PARAMS_MESH into PARAMS_SCULPT to process the latter like it was in older mesh viewers)... Now, the mesh data download starts... and causes a dead lock, lol ! Looks like I'll have to backport the latest versions of llcurl, llthread, llapr & Co (though, they were already v2.6 backports)... At least, I'm making progresses again ! ;-) Back to browsing the diffs, this time with v3.0 as a reference... Henri. On Wed, 24 Aug 2011 21:07:32 +0100, Robin Cornelius wrote: > On Wed, Aug 24, 2011 at 9:01 PM, Henri Beauchamp wrote: > > Greetings, > > > If the answer is yes, please tell me before I loose some more hours > > searching through megabytes of diffs to find out what changed. > > > > A pointer to what should be modified to be able to fetch mesh data > > again would also be nice ! > > There were two major changes to mesh since the first release on Aditi > of it. One was the original mesh asset was being sent as a sculpt with > a sub type of mesh and then the sculptID was being used as the UUID > for the mesh asset which would then be fetched. The problem here was > non mesh viewers would try to show a sculpt and use the UUID as a > texture and some crashed because of this. > > The second change was the names of lod/physics info inside the mesh > asset LLSD was tweaked around, i can't recall the exact change but it > was something trivial like "high_lod" became "highest_lod" > > Hope that gets you going in the right direction and saves some dfiffing > > Robin On Wed, 24 Aug 2011 23:32:07 +0200, Armin Weatherwax wrote: > > I checked and rechecked my backport against v2.6-mesh and v2.7.4, and > > after a few hours, I was sure I didn't miss anything. So, I launched > > the last official mesh viewer I donwloaded (v2.7.2), and it happens that > > it shows the exact same symptoms !!! > I saw the syptoms you describe some time ago in Kokua with v2.7.3 merged, > bisected mesh-development and found 2 commits which fixed the issue for > viewing meshes, no idea about physics though: > > 19640:02eb9a481f49 > Don Kjer > Mon Jul 18 18:57:40 2011 -0700 > Changed mesh param type to not conflict with one in-use on server > > 19639:9cea44ebea3b > Don Kjer > Mon Jul 18 18:50:57 2011 -0700 > Adding support for viewer reading mesh params from an alternative param type. > > Hope that helps. > Armin ___ 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