Wireshark-dev: Re: [Wireshark-dev] Problems with Windows build environment
From: "RobiOneKenobi" <robionekenobi@xxxxxxxxxx>
Date: Tue, 24 Sep 2013 17:37:12 +0200
Hi, This is a missmatch mix between Wireshark-Win32-Lib (that is downloaded the rebuilt) and Wireshark-Win64-Lib (also downloaded and rebuilt) When you start in Win64, you must re-build all, and if you plan to change to Win32, you again must rebuild all, because some parts On my computer, I've put the following: The build command does: nmake -f Makefile.nmake all The rebuild command does nmake -f Makefile.nmake setup distclean all The setup is also rebuilt and there is no more mix between Win32/Win64 Regards RobiOneKenobi -----Original Message----- From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Joerg Mayer Sent: Tuesday, September 24, 2013 12:00 PM To: wireshark-dev@xxxxxxxxxxxxx Subject: [Wireshark-dev] Problems with Windows build environment 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 -- Joerg Mayer <jmayer@xxxxxxxxx> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
- Follow-Ups:
- Re: [Wireshark-dev] Problems with Windows build environment
- From: Graham Bloice
- Re: [Wireshark-dev] Problems with Windows build environment
- References:
- [Wireshark-dev] Problems with Windows build environment
- From: Joerg Mayer
- [Wireshark-dev] Problems with Windows build environment
- Prev by Date: Re: [Wireshark-dev] Problems with Windows build environment
- Next by Date: Re: [Wireshark-dev] Problems with Windows build environment
- Previous by thread: Re: [Wireshark-dev] Problems with Windows build environment
- Next by thread: Re: [Wireshark-dev] Problems with Windows build environment
- Index(es):