[opensource-dev] Viewer Tools Upgrades - with a call for help

Oz Linden (Scott Lawrence) oz at lindenlab.com
Mon Feb 2 10:25:13 PST 2015


On 2015-01-31 17:38 , Nicky Perian wrote:
> Anyone know what causes this on a release build?
> Doesn't stop the build and the installer is still made.
> 3>------ Build started: Project: generate_viewer_version, 
> Configuration: Release Win32 ------
> 3>  processing
> 3>  'printf' is not recognized as an internal or external command,
> 3>  operable program or batch file.
> 3>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): 
> error MSB6006: "cmd.exe" exited with code 9009.
>
> Appears to come from newview/CMakeLists.txt
> source_group("CMake Rules" FILES ViewerInstall.cmake)
>
> # the viewer_version.txt file created here is for passing to 
> viewer_manifest and autobuild
> # the summary.json file is created for the benefit of the TeamCity 
> builds, where
> # it is used to provide descriptive information to the build results page
> add_custom_target(generate_viewer_version ALL
>               COMMAND printf 
> '${VIEWER_SHORT_VERSION}.${VIEWER_VERSION_REVISION}' > 
> ${CMAKE_CURRENT_BINARY_DIR}/viewer_version.txt
>               COMMAND printf 
> '{"Type":"viewer","Version":"${VIEWER_SHORT_VERSION}.${VIEWER_VERSION_REVISION}"}' 
> > ${CMAKE_BINARY_DIR}/summary.json
>               COMMENT Generating viewer_version.txt for manifest 
> processing
>               )

That looks like cmake is trying to run commands in a windows shell 
rather than bash; the printf is a bash command.  This works in our build 
environment. It's possible that it could be replaced with cmake FILE 
commands?

-- 
*Oz Linden (Scott Lawrence)* | /Engineering Director, Second Life/
Email or Hangouts oz at lindenlab.com <mailto:oz at lindenlab.com> | Second 
Life Oz Linden <https://my.secondlife.com/oz.linden>
Linden Lab| Makers of Shared Creative Spaces <http://lindenlab.com/>
Check out what we're working on! <http://lindenlab.com/products>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20150202/91f43ec1/attachment.htm 


More information about the opensource-dev mailing list