MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013951 | CMake | CMake | public | 2013-02-25 09:41 | 2016-06-10 14:31 |
Reporter | ITF-EDV Fröschl GmbH | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | x86 | OS | Microsoft Windows XP (SP3) | OS Version | 5.1 |
Product Version | CMake 2.8.10.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013951: InstallRequiredSystemLibraries.cmake can not find x64 in redist folder. | ||||
Description | InstallRequiredSystemLibraries.cmake is checking 43: if(MSVC_VERSION GREATER 1599) # VS 10 and later: set(CMAKE_MSVC_ARCH x64) message(STATUS "MSVC_VERSION : ${MSVC_VERSION}") # Simple print out! ... But the simple message(STATUS "MSVC_VERSION : ${MSVC_VERSION}") print shows: -- MSVC_VERSION : 2008. The variable content is not 1599! Changing 1599 to 2008 would work for both, win32 (x86) or win64 (amd64) and the system related *.dlls will be copied as expected! | ||||
Steps To Reproduce | 1. Include this lines in your Master CMakeLists.txt: set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE) include(InstallRequiredSystemLibraries) install(PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION bin COMPONENT thirdparty) 2. Create solution with "%ProgramFiles%\CMake 2.8\bin\cmake" %OUR_SRC_ROOT% -G "Visual Studio 9 2008 Win64" | ||||
Additional Information | In our case we execute "%ProgramFiles%\CMake 2.8\bin\cmake" %OUR_SRC_ROOT% -G "Visual Studio 9 2008 Win64" from within a batch file. -- Create the intermediate folder F:\projects\itfedv\itfedv\batch\script\windows\..\..\..\..\intermediate\vs9\win64 -- Change into F:\projects\itfedv\itfedv\batch\script\windows\..\..\..\..\intermediate\vs9\win64 ... -- Creating VisualStudio 9 (2008) Win64 -- The C compiler identification is MSVC 15.0.30729.1 -- The CXX compiler identification is MSVC 15.0.30729.1 -- Check for working C compiler using: Visual Studio 9 2008 Win64 -- Check for working C compiler using: Visual Studio 9 2008 Win64 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 9 2008 Win64 -- Check for working CXX compiler using: Visual Studio 9 2008 Win64 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - not found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done ... CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/msvcm90.dll' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/msvcp90.dll' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) CMake Warning at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:345 (message): system runtime library file does not exist: 'MSVC90_REDIST_DIR-NOTFOUND/x64/Microsoft.VC90.CRT/msvcr90.dll' Call Stack (most recent call first): cmake/MyNSIS.cmake:9 (include) CMakeLists.txt:157 (include) | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-02-25 09:41 | ITF-EDV Fröschl GmbH | New Issue | |||
2014-03-18 11:00 | sigma | Note Added: 0035429 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042237 | |||
2016-06-10 14:28 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|