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\Windows\v7.1\Lib;E:\Microsoft DirectX SDK (June 2010)\ Lib LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\Microsoft.NET\F ramework\v3.5;E:\Microsoft Visual Studio 10.0\VC\LIB; LOGONSERVER=\\VEGA NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=E:\Microsoft Visual Studio 10.0\Common7\IDE\;E:\Microsoft Visual Studio 10. 0\VC\BIN;E:\Microsoft Visual Studio 10.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\ Framework\v4.0.30319;C:\WINDOWS\Microsoft.NET\Framework\v3.5;E:\Microsoft Visual Studio 10.0\VC\VCPackages;C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system 32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ThinkPad\ConnectUtilitie s;C:\Program Files\Common Files\Lenovo;C:\Program Files\Lenovo\Client Security S olution;c:\7zip;c:\GIMP\gtk\bin;C:\QuickTime\QTSystem\;E:\TortoiseSVN\bin;E:\Tor toiseHg;c:\7zip;e:\python25;e:\CMake 2.8\bin;e:\SSFiles;e:\autobuild\bin;e:\cygw in;e:\cygwin\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0f06 ProgramFiles=C:\Program Files PROMPT=$P$G QTJAVA=C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip RR=C:\Program Files\Lenovo\Rescue and Recovery SESSIONNAME=Console SMA=C:\Program Files\ThinkVantage\SMA\ SonicCentral=C:\Program Files\Common Files\Sonic Shared\Sonic Central\ SWSHARE=C:\SWSHARE SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\jhwelch\LOCALS~1\Temp TMP=C:\DOCUME~1\jhwelch\LOCALS~1\Temp TVT=C:\Program Files\Lenovo TVTCOMMON=C:\Program Files\Common Files\Lenovo TVTPYDIR=C:\Program Files\Common Files\Lenovo\Python24 USERDOMAIN=VEGA USERNAME=jhwelch USERPROFILE=C:\Documents and Settings\jhwelch VCINSTALLDIR=E:\Microsoft Visual Studio 10.0\VC\ VS100COMNTOOLS=E:\Microsoft Visual Studio 10.0\Common7\Tools\ VS80COMNTOOLS=E:\Microsoft Visual Studio 8\Common7\Tools\ VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\Desktop Protection VSINSTALLDIR=E:\Microsoft Visual Studio 10.0\ windir=C:\WINDOWS WindowsSdkDir=E:\Microsoft Visual Studio 10.0\SDK\ __COMPAT_LAYER=EnableNXShowUI
Microsoft.Cpp.Win32.user.props
Description: Binary data
ab0.batchfile
Description: Binary data
ab1.batchfile
Description: Binary data
_______________________________________________ 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