Archived issue #0025850
Installation procedure fails to find *.pdb files in debug mode in case of projects generated using CMake
Description
In case if BUILD_СONFIGURATION variable set to Debug, installation procedure fails to find *.pdb files. The following message is prompted:
2> CMake Error at adm/cmake/TKernel/cmake_install.cmake:68 (FILE):
2> file INSTALL cannot find
2> "D:/OpenCascade/OcctJt/build/out/bind/Debug/TKernel.pdb".
2> Call Stack (most recent call first):
2> cmake_install.cmake:248 (INCLUDE)
Note that path is "D:/OpenCascade/OcctJt/build/out/bind/Debug/TKernel.pdb" instead of "D:/OpenCascade/OcctJt/build/out/bind/TKernel.pdb"
2> CMake Error at adm/cmake/TKernel/cmake_install.cmake:68 (FILE):
2> file INSTALL cannot find
2> "D:/OpenCascade/OcctJt/build/out/bind/Debug/TKernel.pdb".
2> Call Stack (most recent call first):
2> cmake_install.cmake:248 (INCLUDE)
Note that path is "D:/OpenCascade/OcctJt/build/out/bind/Debug/TKernel.pdb" instead of "D:/OpenCascade/OcctJt/build/out/bind/TKernel.pdb"
Steps to reproduce
Run CMake gui
set BUILD_FoundationClasses=TRUE
set BUILD_СONFIGURATION=Debug
configure/generate
build libraries
try to build "install" project
set BUILD_FoundationClasses=TRUE
set BUILD_СONFIGURATION=Debug
configure/generate
build libraries
try to build "install" project
Public activity
3 archived notes
Participants are labeled by their role within this record.
dear oan,
please use CR25850 WOK branch (osutils.tcl) in your current WOK and regenerate cmake projects
please use CR25850 WOK branch (osutils.tcl) in your current WOK and regenerate cmake projects
dear Commenter 1, please integrate CR25850 WOK branch and close the issue
Fix has been integrated into master of occt-wok repository