Re: [opensource-dev] Hacking up to Visual Studio 2010 ...
On 02/18/2011 01:56 AM, Oz Linden (Scott Lawrence) wrote: [...] Then check out: https://bitbucket.org/oz_linden/viewer-autobuild2010 cd into the top level of that directory, and run: autobuild configure -c OpenSourceRelWithDebInfo autobuild configure -c OpenSourceRelWithDebInfo Shouldn't the second command be autobuild *build* -c OpenSourceRelWithDebInfo ? ___ 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] Hacking up to Visual Studio 2010 ...
On 2011-02-18 7:31, Boroondas Gupte wrote: On 02/18/2011 01:56 AM, Oz Linden (Scott Lawrence) wrote: [...] Then check out: https://bitbucket.org/oz_linden/viewer-autobuild2010 cd into the top level of that directory, and run: autobuild configure -c OpenSourceRelWithDebInfo autobuild configure -c OpenSourceRelWithDebInfo Shouldn't the second command be autobuild *build* -c OpenSourceRelWithDebInfo ? yes, it should ___ 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] Linux build error: missing binary operator before token ( (was: Hacking up to Visual Studio 2010 ...)
On 02/18/2011 01:56 AM, Oz Linden (Scott Lawrence) wrote: [...] Then check out: https://bitbucket.org/oz_linden/viewer-autobuild2010 cd into the top level of that directory, and run: autobuild configure -c OpenSourceRelWithDebInfo autobuild configure -c OpenSourceRelWithDebInfo and let me know if it works (and if not, see if you can figure out why not). On our build farm, I'm getting an error: _[19:13:30]:_ //LogScan//_(1s)_ _[19:13:30]:_ /[LogScan] / from /usr/include/c++/4.1.3/cmath:53, _[19:13:30]:_ /[LogScan] / from /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/llcommon/linden_common.h:48, _[19:13:30]:_ /[LogScan] / from /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/newview/tests/lldateutil_test.cpp:26: _[19:13:30]:_ /[LogScan] //usr/include/bits/huge_val.h:28:18: error: missing binary operator before token ( _[19:13:30]:_ /[LogScan] //usr/include/bits/huge_val.h:30:20: error: missing binary operator before token ( With build in the second command instead of configure, I'm getting the same error, though not just for /usr/include/bits/huge_val.h but many more system headers, too. Boroondas ___ 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] Hacking up to Visual Studio 2010 ...
When I try running autobuild on Linux (Ubuntu) using this autobuild and viewer-autobuild2010, it immediately fails with a pathcheck error looking for boto. Looking at common.py (in /usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the pathcheck lines in there contain lib/python2.5/ So I'm assuming that this doesn't work with Python 2.6 ?? On Windows 7 with Visual Studio 2010 (not express), I run into an issue with not finding SCP, so I installed PuTTY and linked pscp.exe to scp.exe and then it still fails to download the googlebreakpad. (This IS using OpenSourceRelWithDebInfo) Date: Thu, 17 Feb 2011 19:56:05 -0500 From: o...@lindenlab.com To: opensource-dev@lists.secondlife.com Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ... On 2011-02-16 16:01, Oz Linden (Scott Lawrence) wrote: Tomorrow and Friday (Feb 17 18), Linden Lab is going to be holding an in-house Hackathon (stopping work on many other things, getting many developers together all at once, and focusing on getting a lot done in short time) to upgrade our builds of all our libraries and the viewer to a new toolchain, including our new package management tool (autobuild) and Visual Studio 2010 for Windows (yes... about time... whatever... we're doing it). I could use some help with a linux build problem... if you have a chance, please check out a copy of https://bitbucket.org/lindenlab/autobuild and arrange for the bin/autobuild command from that repository to be in your $PATH Then check out: https://bitbucket.org/oz_linden/viewer-autobuild2010 cd into the top level of that directory, and run: autobuild configure -c OpenSourceRelWithDebInfo autobuild configure -c OpenSourceRelWithDebInfo and let me know if it works (and if not, see if you can figure out why not). On our build farm, I'm getting an error: [19:13:30]: LogScan (1s) [19:13:30]: [LogScan] from /usr/include/c++/4.1.3/cmath:53, [19:13:30]: [LogScan] from /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/llcommon/linden_common.h:48, [19:13:30]: [LogScan] from /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/newview/tests/lldateutil_test.cpp:26: [19:13:30]: [LogScan] /usr/include/bits/huge_val.h:28:18: error: missing binary operator before token ( [19:13:30]: [LogScan] /usr/include/bits/huge_val.h:30:20: error: missing binary operator before token ( ___ 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] Hacking up to Visual Studio 2010 ...
exact error on linux is: autobuild.common.AutobuildError: invalid 'pathcheck' setting for 'boto' From: twisted_l...@hotmail.com To: o...@lindenlab.com; opensource-dev@lists.secondlife.com Date: Fri, 18 Feb 2011 08:50:11 -0500 Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ... When I try running autobuild on Linux (Ubuntu) using this autobuild and viewer-autobuild2010, it immediately fails with a pathcheck error looking for boto. Looking at common.py (in /usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the pathcheck lines in there contain lib/python2.5/ So I'm assuming that this doesn't work with Python 2.6 ?? On Windows 7 with Visual Studio 2010 (not express), I run into an issue with not finding SCP, so I installed PuTTY and linked pscp.exe to scp.exe and then it still fails to download the googlebreakpad. (This IS using OpenSourceRelWithDebInfo) Date: Thu, 17 Feb 2011 19:56:05 -0500 From: o...@lindenlab.com To: opensource-dev@lists.secondlife.com Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ... On 2011-02-16 16:01, Oz Linden (Scott Lawrence) wrote: Tomorrow and Friday (Feb 17 18), Linden Lab is going to be holding an in-house Hackathon (stopping work on many other things, getting many developers together all at once, and focusing on getting a lot done in short time) to upgrade our builds of all our libraries and the viewer to a new toolchain, including our new package management tool (autobuild) and Visual Studio 2010 for Windows (yes... about time... whatever... we're doing it). I could use some help with a linux build problem... if you have a chance, please check out a copy of https://bitbucket.org/lindenlab/autobuild and arrange for the bin/autobuild command from that repository to be in your $PATH Then check out: https://bitbucket.org/oz_linden/viewer-autobuild2010 cd into the top level of that directory, and run: autobuild configure -c OpenSourceRelWithDebInfo autobuild configure -c OpenSourceRelWithDebInfo and let me know if it works (and if not, see if you can figure out why not). On our build farm, I'm getting an error: [19:13:30]: LogScan (1s) [19:13:30]: [LogScan] from /usr/include/c++/4.1.3/cmath:53, [19:13:30]: [LogScan] from /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/llcommon/linden_common.h:48, [19:13:30]: [LogScan] from /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/newview/tests/lldateutil_test.cpp:26: [19:13:30]: [LogScan] /usr/include/bits/huge_val.h:28:18: error: missing binary operator before token ( [19:13:30]: [LogScan] /usr/include/bits/huge_val.h:30:20: error: missing binary operator before token ( ___ 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
Re: [opensource-dev] Hacking up to Visual Studio 2010 ...
On Friday 18 February 2011 15:50:11 Twisted Laws wrote: When I try running autobuild on Linux (Ubuntu) using this autobuild and viewer-autobuild2010, it immediately fails with a pathcheck error looking for boto. Looking at common.py (in /usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the pathcheck lines in there contain lib/python2.5/ So I'm assuming that this doesn't work with Python 2.6 ?? I had a similar problem after I installed the autobuild package system-wide with the setup.py that came with it (./setup.py build sudo ./setup.py install). It turns out it does not work when installed system wide. As far as I could tell, the python version in the pre-packaged files' path don't matter. Also, it seems prone to leaving bad files /var/tmp/$USER/install.cache/ when bailing due to exceptions, and barfing when encountering those files on subsequent runs. -- Thickbrick ___ 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] Hacking up to Visual Studio 2010 ...
Thanks i'm unclear of what i should do next then. (I primarily work in windows) Can i just delete the files in /usr/local/lib/python2.6/dist-packages/autobuild ? From: thickbrick.sleaf...@gmail.com To: opensource-dev@lists.secondlife.com Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ... Date: Fri, 18 Feb 2011 16:45:00 +0200 CC: twisted_l...@hotmail.com On Friday 18 February 2011 15:50:11 Twisted Laws wrote: When I try running autobuild on Linux (Ubuntu) using this autobuild and viewer-autobuild2010, it immediately fails with a pathcheck error looking for boto. Looking at common.py (in /usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the pathcheck lines in there contain lib/python2.5/ So I'm assuming that this doesn't work with Python 2.6 ?? I had a similar problem after I installed the autobuild package system-wide with the setup.py that came with it (./setup.py build sudo ./setup.py install). It turns out it does not work when installed system wide. As far as I could tell, the python version in the pre-packaged files' path don't matter. Also, it seems prone to leaving bad files /var/tmp/$USER/install.cache/ when bailing due to exceptions, and barfing when encountering those files on subsequent runs. -- Thickbrick ___ 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] Hacking up to Visual Studio 2010 ...
On Friday 18 February 2011 16:55:06 Twisted Laws wrote: Thanks i'm unclear of what i should do next then. (I primarily work in windows) Can i just delete the files in /usr/local/lib/python2.6/dist-packages/autobuild ? That's what I did (together with /usr/local/bin/autobuild). Maybe there's a proper way of removing packages installed with easy_install, but I couldn't figure it out... -- Thickbrick ___ 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] Review Request: VWR-22220 Chat preferences font size should increase size of input text as well
On Feb. 18, 2011, 7:16 a.m., Jonathan Yap wrote: My internet connection went dead while in the middle of updating the diffs. They are corrupted and I don't know how to fix them. Have you tried uploading them again? That won't remove the bogus intermediary revision, but if we know about that, we can easily ignore it. Btw., after uploading, you can review the new diff before publishing it, I think: While on the page where you can describe the update, click the View Diff button. - Boroondas --- This is an automatically generated e-mail. To reply, visit: http://codereview.secondlife.com/r/139/#review376 --- On Feb. 18, 2011, 7:11 a.m., Jonathan Yap wrote: --- This is an automatically generated e-mail. To reply, visit: http://codereview.secondlife.com/r/139/ --- (Updated Feb. 18, 2011, 7:11 a.m.) Review request for Viewer. Summary --- This is a request for help. I am trying to learn more about c++ and how variables in one class are accessed from another. For someone who knows what they are doing this is probably a pretty easy question. I have been able to set the font size on the chat input box when it is created in llbottomtray.cpp. I would like to do the same thing when someone clicks in that box to input text; it is possible they have changed the font setting and I would like to apply the size there as well, but I am stuck on how to do this. I think the right place to do this is in llchatbar.cpp/LLChatBar::onInputEditorGainFocus(). I have tried all kinds of wrong ways but at this point am stymied. Exact steps on how to proceed would be appreciated. This addresses bug vwr-0. http://jira.secondlife.com/browse/vwr-0 Diffs - indra/newview/llbottomtray.h 3d2e71443c58 indra/newview/llbottomtray.cpp 3d2e71443c58 indra/newview/llchatbar.h 3d2e71443c58 indra/newview/llchatbar.cpp 3d2e71443c58 Diff: http://codereview.secondlife.com/r/139/diff Testing --- Thanks, 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] Hacking up to Visual Studio 2010 ...
hmmm... ok, so i removed them... './setup.py build' works ok and i added autobuild/bin to path and I still get the same error from running $ autobuild configure -c OpenSourceRelWithDebInfo autobuild.common.AutobuildError: invalid 'pathcheck' setting for 'boto' looking at it, the file still contains 'pathcheck' : lib/python2.5/boto what is boto btw? did i miss installing something? there are no boto packages that i can find From: thickbrick.sleaf...@gmail.com To: opensource-dev@lists.secondlife.com Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ... Date: Fri, 18 Feb 2011 17:03:05 +0200 CC: twisted_l...@hotmail.com That's what I did (together with /usr/local/bin/autobuild). Maybe there's a proper way of removing packages installed with easy_install, but I couldn't figure it out... -- Thickbrick ___ 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] Review Request: VWR-22220 Chat preferences font size should increase size of input text as well
On Feb. 15, 2011, 6:40 a.m., Vadim ProductEngine wrote: indra/newview/llchatbar.h, line 83 http://codereview.secondlife.com/r/139/diff/4/?file=790#file790line83 Use tabs for indentation, not spaces. This note seems to apply to all modified lines in this patch. Jonathan Yap wrote: Using spaces is specified in the coding standard: http://wiki.secondlife.com/wiki/Coding_standard#Indentation This preference was made explicit on Feb 3. Vadim ProductEngine wrote: Hmmm. This is news to me. Ok, please use tabs anyway to be consistent with surrounding code. BTW, the recent change to the coding standard has been rolled back, so tabs are mandatory again. - Vadim --- This is an automatically generated e-mail. To reply, visit: http://codereview.secondlife.com/r/139/#review362 --- On Feb. 18, 2011, 7:11 a.m., Jonathan Yap wrote: --- This is an automatically generated e-mail. To reply, visit: http://codereview.secondlife.com/r/139/ --- (Updated Feb. 18, 2011, 7:11 a.m.) Review request for Viewer. Summary --- This is a request for help. I am trying to learn more about c++ and how variables in one class are accessed from another. For someone who knows what they are doing this is probably a pretty easy question. I have been able to set the font size on the chat input box when it is created in llbottomtray.cpp. I would like to do the same thing when someone clicks in that box to input text; it is possible they have changed the font setting and I would like to apply the size there as well, but I am stuck on how to do this. I think the right place to do this is in llchatbar.cpp/LLChatBar::onInputEditorGainFocus(). I have tried all kinds of wrong ways but at this point am stymied. Exact steps on how to proceed would be appreciated. This addresses bug vwr-0. http://jira.secondlife.com/browse/vwr-0 Diffs - indra/newview/llbottomtray.h 3d2e71443c58 indra/newview/llbottomtray.cpp 3d2e71443c58 indra/newview/llchatbar.h 3d2e71443c58 indra/newview/llchatbar.cpp 3d2e71443c58 Diff: http://codereview.secondlife.com/r/139/diff Testing --- Thanks, 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] Hacking up to Visual Studio 2010 ...
Heheh ty for the tip.. Though as this is testing for it.. i figured they aughta know that its not selecting whats installed. =) On Fri, Feb 18, 2011 at 11:29 AM, Twisted Laws twisted_l...@hotmail.comwrote: in my case, i copied autobuild.xml to altered.xml and changed all occurrances of 'Visual Studio 8 2005 to Visual Studio 10 and then specified it on the autobuild command line with --config_file altered.xml then it works but I have problems getting googlebreakpad, but thats a different issue -- Date: Fri, 18 Feb 2011 10:51:24 -0600 From: xot...@gmail.com To: o...@lindenlab.com CC: opensource-dev@lists.secondlife.com Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ... Trying to build with vs2k10 pro D:\Other\vd\viewer-autobuildautobuild configure -c OpenSourceRelWithDebInfo --d ebug Configuration file 'D:\Other\vd\viewer-autobuild\autobuild.xml' configuring in D:\Other\vd\viewer-autobuild\build-vc80 configuring for configuration(s) [{'default': False, 'configure': {'command': No ne, 'options': ['-G', 'Visual Studio 8 2005', '-DSTANDALONE:BOOL=FALSE', '-DIN STALL_PROPRIETARY=FALSE', '-DFMOD=FALSE'], 'arguments': None}, 'name': 'OpenSour ceRelWithDebInfo', 'build': {'command': 'devenv.com', 'options': ['/build', 'Rel WithDebInfo'], 'arguments': ['SecondLife.sln']}}] executing configure command cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DUNA TTENDED:BOOL=OFF -DWORD_SIZE:STRING=32 -DROOT_PROJECT_NAME:STRING=SecondLife -G Visual Studio 8 2005 -DSTANDALONE:BOOL=FALSE -DINSTALL_PROPRIETARY=FALSE -DFMO D=FALSE ../indra CMake Error: CMake was unable to find a build program corresponding to Visual S tudio 8 2005. CMAKE_MAKE_PROGRAM is not set. You probably need to select a di fferent build tool. CMake Error: Could not find cmake module file:D:/Other/vd/viewer-autobuild/build -vc80/CMakeFiles/CMakeCCompiler.cmake CMake Error: Could not find cmake module file:D:/Other/vd/viewer-autobuild/build -vc80/CMakeFiles/CMakeCXXCompiler.cmake -- Configuring incomplete, errors occurred! default configuration returned 1 Traceback (most recent call last): File D:\Python26\Scripts\autobuild, line 47, in module sys.exit( Autobuild().main(sys.argv[1:]) ) File D:\Python26\lib\site-packages\autobuild\autobuild_main.py, line 188, in main tool_to_run.run(args) File D:\Python26\lib\site-packages\autobuild\autobuild_tool_configure.py, li ne 88, in run raise ConfigurationError(default configuration returned %d % (result)) ConfigurationError: default configuration returned 1 ERROR: default configuration returned 1 For more information: try re-running your command with --verbose or --debug D:\Other\vd\viewer-autobuild On Wed, Feb 16, 2011 at 3:01 PM, Oz Linden (Scott Lawrence) o...@lindenlab.com wrote: Tomorrow and Friday (Feb 17 18), Linden Lab is going to be holding an in-house Hackathon (stopping work on many other things, getting many developers together all at once, and focusing on getting a lot done in short time) to upgrade our builds of all our libraries and the viewer to a new toolchain, including our new package management tool (autobuildhttps://wiki.secondlife.com/wiki/Autobuild) and Visual Studio 2010 for Windows (yes... about time... whatever... we're doing it). Our goals are simply stated: 1. Get all open source components into repositories under hg.secondlife.com (eg bitbucket.org/lindenlab/). All the third party components (things not created by LL) that we incorporate will be in repositories named with the prefix 3p-. Most of these repositories exist now, but not all have sources in them yet. 2. Get each component packaged with an autobuild configuration for whatever platforms it is needed on. 3. Get each component needed on Windows building under autobuild with VS 2010. 4. Get a TeamCity-automated build configured for each component repository with the resulting prebuilds of open components uploaded to public directories. 5. Get the viewer built using the resulting prebuilt libraries, also under autobuild with VS 2010. We also expect to integrate some automated viewer testing into our automated viewer builds, but none of that will be externally visible. If you make a chart with a row for each component, and a column for each of 1 through 4 above, it's a lot of boxes to fill in... many have already been done: there are some complete rows, but it's still a big job. I will be providing public updates on the wiki (form and location TBD... watch this thread) and on the #opensl IRC channel of how we're doing and the status of each public repository. A non-goal for the Lindens is building the components with Visual Studio Express. There is currently a limitation (see OPEN-1 in jira) that makes using Express cumbersome (it requires separate configuration). We do recognize that Express is important