On 24 September 2013 11:12, Graham Bloice <[email protected]>wrote:

> On 24 September 2013 11:00, Joerg Mayer <[email protected]> wrote:
>
>> Hello,
>>
>> I'm trying to build on Win7, 64-bit and it fails very early (nmake target
>> fails
>> earlier than Vproj, but both fail).
>>
>> Googling the error "fatal error C1902:
>>   Program database manager mismatch; please check your installation"
>> seems to indicate that the setup is inconsistent, trying to mix 32 and 64
>> bit
>> and that a new install might fix that.
>>
>> Before I uninstall all the VSEE/SDK stuff and try to reinstall, maybe
>> someone has better ideas ;-)
>>
>> Thanks
>>      Jörg
>>
>> =======================================================================
>>
>> C:\wireshark\build>rm -rf *
>> rm -rf *
>>
>> C:\wireshark\build>cmake -G "NMake Makefiles" ../trunk
>> cmake -G "NMake Makefiles" ../trunk
>> -- The C compiler identification is MSVC 16.0.40219.1
>> -- The CXX compiler identification is MSVC 16.0.40219.1
>> -- Check for working C compiler: c:/Program Files (x86)/Microsoft Visual
>> Studio 10.0/VC/bin/amd64/cl.exe
>> -- Check for working C compiler: c:/Program Files (x86)/Microsoft Visual
>> Studio 10.0/VC/bin/amd64/cl.exe -- broken
>> CMake Error at C:/Program Files (x86)/CMake
>> 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
>>   The C compiler "c:/Program Files (x86)/Microsoft Visual Studio
>>   10.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.
>>
>>   It fails with the following output:
>>
>>    Change Dir: C:/wireshark/build/CMakeFiles/CMakeTmp
>>
>>
>>
>>   Run Build Command:nmake /NOLOGO "cmTryCompileExec2050591576\fast"
>>
>>         "c:\Program Files (x86)\Microsoft Visual Studio
>>   10.0\VC\bin\amd64\nmake.exe" -f
>>   CMakeFiles\cmTryCompileExec2050591576.dir\build.make /nologo -L
>>   CMakeFiles\cmTryCompileExec2050591576.dir\build
>>
>>         "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E
>> cmake_progress_report
>>   C:\wireshark\build\CMakeFiles\CMakeTmp\CMakeFiles 1
>>
>>   Building C object
>>   CMakeFiles/cmTryCompileExec2050591576.dir/testCCompiler.c.obj
>>
>>         c:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe
>> @C:\cygwin\tmp\nmD07B.tmp
>>
>>   testCCompiler.c
>>
>>   C:\wireshark\build\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error
>> C1902:
>>   Program database manager mismatch; please check your installation
>>
>>   NMAKE : fatal error U1077: 'c:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe'
>> :
>>   return code '0x2'
>>
>>   Stop.
>>
>>   NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
>> Studio
>>   10.0\VC\bin\amd64\nmake.exe"' : return code '0x2'
>>
>>   Stop.
>>
>>
>>
>>
>>
>>   CMake will not be able to correctly generate this project.
>> Call Stack (most recent call first):
>>   CMakeLists.txt:24 (project)
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>> C:\wireshark\build>
>>
>> ===========================================
>>
>> Select output from set:
>>
>> INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\VC\INCLUDE;C:\Program Files\Microsoft
>> SDKs\Windows\v7.1\INCLUDE;C:\Program Files\Microsoft
>> SDKs\Windows\v7.1\INCLUDE\gl;
>> INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
>> LANG=de_DE.UTF-8
>> LIB=c:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\VC\Lib\amd64;C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\X64;
>> LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;;c:\Program
>> Files (x86)\Microsoft Visual Studio 10.0\VC\Lib\amd64;
>> ORIGINALPATH=C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program
>> Files (x86)\WinSCP;C:\Program Files\SlikSvn\bin;C:\Program Files
>> (x86)\CMake 2.8\bin;C:\cygwin\bin;c:\cygwin\bin
>> OS=Windows_NT
>> PATH=c:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\VC\bin\amd64;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;;C:\Program
>> Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files
>> (x86)\Microsoft Visual Studio 10.0\Common7\Tools;;c:\Program Files
>> (x86)\Microsoft Visual Studio 10.0\VC\Bin;c:\Program Files (x86)\Microsoft
>> Visual Studio 10.0\VC\Bin\VCPackages;;C:\Program Files\Microsoft
>> SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools;C:\Program Files\Microsoft
>> SDKs\Windows\v7.1\Bin;;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program
>> Files (x86)\WinSCP;C:\Program Files\SlikSvn\bin;C:\Program Files
>> (x86)\CMake 2.8\bin;C:\cygwin\bin;c:\cygwin\bin;c:\Program Files
>> (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64
>> OS=Windows_NT
>> PlatformToolset=Windows7.1SDK
>> PROGRAMFILES=C:\Program Files (x86)
>> sdkdir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
>> WindowsSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
>> WindowsSDKVersionOverride=v7.1
>> WIRESHARK_BASE_DIR=c:/wireshark
>> WIRESHARK_TARGET_PLATFORM=win64
>>
>>
> The MSDN help for C1902 isn't all that helpful: See
> http://msdn.microsoft.com/en-us/library/8y7hea02.aspx
>
> Is it a path issue? I see you have both Visual Studio and the SDK on your
> path, if you have both I think the SDK should come first.  How is your
> compilation path set?
>
>
Or this:
http://stackoverflow.com/questions/12325096/notorious-visual-studio-error-c1902-vs-configuration
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to