[opensource-dev] VS2010 Express fails basic test
I have been trying, with the help of NickyP and archer to get my VS2010 environment set up properly. After two days of work I am still getting a basic error when I try to autobuild configure. I have been able to compile the failing test.c file manually using cl.exe, so it seems there is some problem in my environment. I'm including the build failure, my environment settings, the two .bat files I use to get set up and start the configure step, and and default file VS2010 uses. E:\project\viewer-autobuild2010-wip>ab0 E:\project\viewer-autobuild2010-wip>rem call "e:/Microsoft Visual Studio 10.0/VC /bin/vcvars32" E:\project\viewer-autobuild2010-wip>call "e:/Microsoft Visual Studio 10.0/VC/vcv arsall" x86 Setting environment for using Microsoft Visual Studio 2010 x86 tools. E:\project\viewer-autobuild2010-wip>ab1 E:\project\viewer-autobuild2010-wip>autobuild configure -c VC10msbuildRelWithDeb Info -- -DPACKAGE:BOOL=OFF -DLL_TESTS:BOOL=OFF -DMSVC_REDIST_PATH:PATH=C:/WINDO WS/system32 -DLL_RELEASE_FOR_DOWNLOAD:BOOL=TRUE -DFMOD_INCLUDE_DIR:PATH=e:/fmoda pi375win/api/inc -DFMOD_LIBRARY:PATH=e:/fmodapi375win/api/lib -- Check for working C compiler using: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- broken CMake Error at e:/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "E:/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: E:/project/viewer-autobuild2010-wip/build-vc100/CMakeFiles/CMakeT mp Run Build Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec.vcxproj /p:Configuration=Debug Microsoft (R) Build Engine Version 4.0.30319.1 [Microsoft .NET Framework, Version 4.0.30319.1] Copyright (C) Microsoft Corporation 2007. All rights reserved. Build started 2/28/2011 8:39:11 AM. Project "E:\project\viewer-autobuild2010-wip\build-vc100\CMakeFiles\CMakeTmp\cmTryComp ileExec.vcxproj" on node 1 (default targets). InitializeBuildStatus: Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" bec ause "AlwaysCreate" was specified. ClCompile: E:\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /nologo /W3 /WX- /Od /O b0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec.dir\Debug\\" /Fd"E:/project/viewer-autobuild2010-wip/build-vc100/CMakeFiles/CMakeTmp/Debug/c mTryCompileExec.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c /Zm10 00 /GZ C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(1 47,5): error : Required file "" is missing. [E:\project\viewer-autobuild2010-wip\build-vc100\CMakeFiles\CMakeTmp\cmTryComp ileExec.vcxproj] Done Building Project "E:\project\viewer-autobuild2010-wip\build-vc100\CMakeFiles\CMakeTmp\cmTryComp ileExec.vcxproj" (default targets) -- FAILED. Build FAILED. "E:\project\viewer-autobuild2010-wip\build-vc100\CMakeFiles\CMakeTmp\cmTryComp ileExec.vcxproj" (default target) (1) -> (ClCompile target) -> C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Wi n32.Targets(147,5): error : Required file "" is missing. [E:\project\viewer-auto build2010-wip\build-vc100\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.18 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:18 (project) -- Configuring incomplete, errors occurred! ERROR: default configuration returned 1 For more information: try re-running your command with --verbose or --debug - E:\project\viewer-autobuild2010-wip>set ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\jhwelch\Application Data AUTOBUILD_VSVER=100 CLASSPATH=.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=VEGA ComSpec=C:\WINDOWS\system32\cmd.exe DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopPro tection DevEnvDir=E:\Microsoft Visual Studio 10.0\Common7\IDE\ DXSDK_DIR=e:\Microsoft DirectX SDK (June 2010)\ FP_NO_HOST_CHECK=NO Framework35Version=v3.5 FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework\ FrameworkDIR32=C:\WINDOWS\Microsoft.NET\Framework\ FrameworkVersion=v4.0.30319 FrameworkVersion32=v4.0.30319 HOMEDRIVE=C: HOMEPATH=\Documents and Settings\jhwelch INCLUDE=E:\Microsoft Visual Studio 10.0\VC\INCLUDE;E:\Microsoft SDKs\Windows\v7. 1\Include;E:\Microsoft SDKs\Windows\v7.1\Include\gl;E:\Microsoft DirectX SDK (Ju ne 2010)\Include LIB=E:\Microsoft Visual Studio 10.0\VC\LIB;E:\Microsoft Visual Studio 10.0\SDK\v 3.5\lib;E:\Microsoft SDKs\Win
Re: [opensource-dev] VS2010 Express fails basic test
On 2/28/2011 8:48 AM, Jonathan Welch wrote: > I have been trying, with the help of NickyP and archer to get my > VS2010 environment set up properly. > > CMake Error at e:/CMake > 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 > (MESSAGE): >The C compiler "E:/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able >to compile a simple test program. > >It fails with the following output: > > Change Dir: > E:/project/viewer-autobuild2010-wip/build-vc100/CMakeFiles/CMakeT > mp I had a similar problem getting Win7-64bit setup with vs2010. The following may or may not solve your problem, however: 1. Reboot. After the VS SP1 upgrade and the special vista/w7 VS upgrade, it turned out a simple reboot fixed the problem. Which is fortunate because the error code I was getting was only documented on a site in Mandarin. 2. Finding the error code involved using the --debug-trycompile option to cmake. This leaves all temporaries in place including log/htm output with better diagnostics. Start with that if 1. doesn't do it. -- Monty Brandenberg 617.401.2384 mo...@lindenlab.com ___ 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] VS2010 Express fails basic test
Someone suggested I call up a dos prompt from the V7.1 SDK menu and that got me past this problem. I've adjusted my setup.bat file to have all the env vars that that dos window had that were missing from my normal dos window. Once I have the time I may experiment to see which of those env vars are crucial. ___ 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] VS2010 Express fails basic test
On 2/28/2011 3:58 PM, Monty Brandenberg wrote: > I had a similar problem getting Win7-64bit setup with vs2010. > The following may or may not solve your problem, however: Bleh I've been doing win7-64bit/vs2005 and xp/vs2010 and mixed up the two. My problem was the former, not the latter. Beware of Lindens offering free advice... -- Monty Brandenberg 617.401.2384 mo...@lindenlab.com ___ 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] STORM-1023 (was OPEN-4) : fmod
I keep trying to do this and im only getting an error near the end of the configuration process that says : WARNING: Target "secondlife-bin" requests linking to directory "D:/fmodapi375win". Targets may link only to libraries. CMake is dropping the item. If you could explain how your fmod directory it set up it would be welcomed. As you can see I am using the upacked zip file. My suggestion still stand about making a packaging system in autobuild that would generate a package like the one LL uses for fmod that could then be placed somewhere that the autobuild system could find it and the extract it to the build tree. From: opensource-dev-boun...@lists.secondlife.com [mailto:opensource-dev-boun...@lists.secondlife.com] On Behalf Of Twisted Laws Sent: Saturday, February 26, 2011 11:54 AM To: SLDEV Subject: Re: [opensource-dev] STORM-1023 (was OPEN-4) : fmod to get fmod working i used this changeset and used autobuild --debug configure -c VC10msbuildRelWithDebInfo -- -DLL_TESTS:BOOL=OFF -DFMOD:BOOL=ON -DFMOD_INCLUDE_DIR=C:\Dev\fmod -DFMOD_LIBRARY=C:\Dev\fmod successfully compiles, runs and has sound (not standalone) _ From: me...@lindenlab.com Date: Thu, 24 Feb 2011 22:03:46 -0800 To: opensource-dev@lists.secondlife.com Subject: [opensource-dev] STORM-1023 (was OPEN-4) : fmod Hi, I worked on this and submitted what I think should solve the problem on a dev repo forked from oz_linden/viewer-autobuild: https://bitbucket.org/merov_linden/viewer-autobuild-open-4/changeset/e439abf 2be8e If autobuild interested people building from home STANDALONE and NOT STANDALONE could review that proposal and test the changeset, that would help tremendously. Cheers, - Merov ___ 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.1204 / Virus Database: 1435/3469 - Release Date: 02/26/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] Test build available
Thank you Merov! > > * STORM-357 : Gestures button is in the pressed state after drag-n-drop but > gestures list isn't visible > Rejected > * STORM-665 : User is not able to view full name of Group's founder in the > Group Profile > approved > * STORM-842 : "Start at" list isn't populated with favorites if user name > is typed in fashion "firstname.lastname" > approved > * STORM-889 : Put Link/Unlink in Edit Panel > looks fine to me. any objections? > * STORM-949 : please remove actual usernames from XUI files <-- Trivial and > not really testable > approved! > * STORM-954 : SL-viewer 2.0 No nearby people when over approximately 1000 > meters <-- Long time dangling issue! Please test... > approved > * STORM-971 : 'Stop Tracking' menu item is still enabled in Mini-map > floater after you stopped tracking in Nearby mini-map * STORM-991 : Parser warning on Inventory floater construction > * STORM-1004 : Unblocking/blocking name sometimes deletes identically named > entry, but of different TYPE > > ___ 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