Re: [opensource-dev] 64 bit viewers build instructions

2016-11-23 Thread Nat Goodspeed
On Wed, Nov 23, 2016 at 12:24 PM, Nicky Perian 
wrote:

This is on a Release. The solution defaulted to Debug and I failed to
> notice.
> So, that raises the question; Why when autobuild source_environment is set
> to Release did it not follow through to the soultion?
>

There is a program called VSTool in indra/tools/vstool that has been used
to postprocess the .sln file generated by autobuild configure (running
CMake). We recently stopped running that implicitly, for a couple reasons:


   1. VSTool began failing intermittently on our build machines, impacting
   the reliability of our build farm. But VSTool's only function is to set
   defaults for the IDE -- which is completely irrelevant to an unattended
   build! So for an official build-farm build, the only effect of running
   VSTool was the negative one of introducing intermittent failures. It can
   take an hour to rerun a full official build-farm build.
   2. VSTool was being run in a weird way, with '&&' being passed by
   autobuild.xml as a command argument.
  - That relied on autobuild invoking commands through the shell.
  autobuild-1.1 has recently started invoking commands directly
  *without* using the shell, which in general is more robust and
  secure. But that meant that '&&' and 'VSTool.exe' and its args were being
  passed to devenv as additional arguments. Of course devenv was completely
  nonplussed.
  - autobuild.xml is not a scripting language. It has no way to invoke
  VSTool conditionally. We couldn't run it only for interactive developer
  builds.


The *right* fix is for CMake to generate the .sln (etc.) files with the
appropriate defaults already set.

Until we get that, if your workflow involves autobuild configure followed
by a Visual Studio IDE session, please run autobuild configure in a shell
script that also runs VSTool with the arguments you've seen in previous
versions of autobuild.xml.


> Error 7 error LNK1181: cannot open input file
> '..\llimagej2coj\Release\llimagej2coj.lib' C:\Users\Bill\P64\viewer64\bui
> ld-vc120-32\newview\LINK secondlife-bin
> Error 4 error C2039: 'page_zoom_factor' : is not a member of
> 'LLCEFLib::LLCEFLibSettings' C:\Users\Bill\P64\viewer64\ind
> ra\media_plugins\cef\media_plugin_cef.cpp 504 1 media_plugin_cef
> Error 1 error C1083: Cannot open include file: 'opj_stdint.h': No such
> file or directory C:\Users\Bill\P64\viewer64\bui
> ld-vc120-32\packages\include\openjpeg\openjpeg.h 94 1 llimagej2coj
>

I jumped right in trying to build a 64-bit Windows viewer. Your mail
prompted me to circle back and clean up the 32-bit Windows build of
lindenlab/viewer64. I see these errors and am working on them. (I think
I've already worked around the LLCEFLibSettings one.)

Please stay tuned!
___
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] 64 bit viewers build instructions

2016-11-23 Thread Nicky Perian
This is on a Release. The solution defaulted to Debug and I failed to
notice.
So, that raises the question; Why when autobuild source_environment is set
to Release did it not follow through to the soultion?

Error 7 error LNK1181: cannot open input file
'..\llimagej2coj\Release\llimagej2coj.lib'
C:\Users\Bill\P64\viewer64\build-vc120-32\newview\LINK secondlife-bin
Error 4 error C2039: 'page_zoom_factor' : is not a member of
'LLCEFLib::LLCEFLibSettings'
C:\Users\Bill\P64\viewer64\indra\media_plugins\cef\media_plugin_cef.cpp 504
1 media_plugin_cef
Error 1 error C1083: Cannot open include file: 'opj_stdint.h': No such file
or directory
C:\Users\Bill\P64\viewer64\build-vc120-32\packages\include\openjpeg\openjpeg.h
94 1 llimagej2coj


On Wed, Nov 23, 2016 at 10:06 AM, Nicky Perian 
wrote:

> Complete the record on opensource-dev.
>
> -- Forwarded message --
> From: Nicky Perian 
> Date: Wed, Nov 23, 2016 at 9:13 AM
> Subject: Re: 64 bit viewers build instructions
> To: Nat Goodspeed 
> Cc: "Oz Linden (Scott Lawrence)" 
>
>
> Thanks,
> I'm trying to build 32 bit windows first.
> These appear library related and since you are active in building them
> thought you should know. Likely that you already know but just in case 
>
> Error 11 error LNK1181: cannot open input file 'vorbisfile_static_d.lib'
> C:\Users\Bill\P64\viewer64\build-vc120\newview\LINK secondlife-bin
> Error 5 error LNK1181: cannot open input file
> 'libboost_coroutine-mt-gd.lib' C:\Users\Bill\P64\viewer64\bui
> ld-vc120\media_plugins\libvlc\LINK media_plugin_libvlc
> Error 9 error LNK1104: cannot open file 'libboost_coroutine-mt-gd.lib'
> C:\Users\Bill\P64\viewer64\build-vc120\llplugin\slplugin\LINK SLPlugin
> Error 10 error LNK1104: cannot open file 'exception_handler.lib'
> C:\Users\Bill\P64\viewer64\build-vc120\win_crash_logger\LINK
> windows-crash-logger
> Error 6 error C2039: 'page_zoom_factor' : is not a member of
> 'LLCEFLib::LLCEFLibSettings' C:\Users\Bill\P64\viewer64\ind
> ra\media_plugins\cef\media_plugin_cef.cpp 504 1 media_plugin_cef
> Error 1 error C1083: Cannot open include file: 'opj_stdint.h': No such
> file or directory C:\Users\Bill\P64\viewer64\bui
> ld-vc120\packages\include\openjpeg\openjpeg.h 94 1 llimagej2coj
>
>
> On Wed, Nov 23, 2016 at 8:43 AM, Nat Goodspeed  wrote:
>
>> On Wed, Nov 23, 2016 at 9:13 AM, Nat Goodspeed  wrote:
>>
>> On Wed, Nov 23, 2016 at 9:04 AM, Nicky Perian 
>>> wrote:
>>>
>>>
 For instance, the libraries for llphysicsextensions_stub need to be in

 http://automated-builds-secondlife-com.s3.amazonaws.com

 Instead of

 http://s3-proxy.lindenlab.com/private-builds-secondlife-com/
 ct2/467/985/

>>>
>>> Sorry! I should be able to get you a new public build of
>>> llphysicsextensions_stub.
>>>
>>
>> https://bitbucket.org/lindenlab/viewer64/commits/4838e2cf369
>> 48f911b072a018f68f1be8c54eeba
>>
>
>
>
___
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] Fwd: 64 bit viewers build instructions

2016-11-23 Thread Nicky Perian
Complete the record on opensource-dev.

-- Forwarded message --
From: Nicky Perian 
Date: Wed, Nov 23, 2016 at 9:13 AM
Subject: Re: 64 bit viewers build instructions
To: Nat Goodspeed 
Cc: "Oz Linden (Scott Lawrence)" 


Thanks,
I'm trying to build 32 bit windows first.
These appear library related and since you are active in building them
thought you should know. Likely that you already know but just in case 

Error 11 error LNK1181: cannot open input file 'vorbisfile_static_d.lib'
C:\Users\Bill\P64\viewer64\build-vc120\newview\LINK secondlife-bin
Error 5 error LNK1181: cannot open input file 'libboost_coroutine-mt-gd.lib'
C:\Users\Bill\P64\viewer64\build-vc120\media_plugins\libvlc\LINK
media_plugin_libvlc
Error 9 error LNK1104: cannot open file 'libboost_coroutine-mt-gd.lib'
C:\Users\Bill\P64\viewer64\build-vc120\llplugin\slplugin\LINK SLPlugin
Error 10 error LNK1104: cannot open file 'exception_handler.lib'
C:\Users\Bill\P64\viewer64\build-vc120\win_crash_logger\LINK
windows-crash-logger
Error 6 error C2039: 'page_zoom_factor' : is not a member of
'LLCEFLib::LLCEFLibSettings' C:\Users\Bill\P64\viewer64\
indra\media_plugins\cef\media_plugin_cef.cpp 504 1 media_plugin_cef
Error 1 error C1083: Cannot open include file: 'opj_stdint.h': No such file
or directory C:\Users\Bill\P64\viewer64\build-vc120\packages\include\
openjpeg\openjpeg.h 94 1 llimagej2coj


On Wed, Nov 23, 2016 at 8:43 AM, Nat Goodspeed  wrote:

> On Wed, Nov 23, 2016 at 9:13 AM, Nat Goodspeed  wrote:
>
> On Wed, Nov 23, 2016 at 9:04 AM, Nicky Perian 
>> wrote:
>>
>>
>>> For instance, the libraries for llphysicsextensions_stub need to be in
>>>
>>> http://automated-builds-secondlife-com.s3.amazonaws.com
>>>
>>> Instead of
>>>
>>> http://s3-proxy.lindenlab.com/private-builds-secondlife-com/ct2/467/985/
>>>
>>
>> Sorry! I should be able to get you a new public build of
>> llphysicsextensions_stub.
>>
>
> https://bitbucket.org/lindenlab/viewer64/commits/4838e2cf369
> 48f911b072a018f68f1be8c54eeba
>
___
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