MantisBT - Community | View Issue Details |
| ID | Project | Category | View Status | Date Submitted | Last Update | 0032046 | Community | [OCCT] OCCT:Configuration | public | 2021-01-10 16:39 | 2021-01-12 15:48 |
| Reporter | taoyouh | | Assigned To | taoyouh | | Priority | normal | Severity | minor | | Status | feedback | Resolution | open | | Platform | Windows | OS | VC++ 2015 | OS Version | 64 bit | Product Version | [OCCT] 7.5.0 | | Target Version | [OCCT] 7.6.0* | Fixed in Version | | | Test case number | |
| Summary | 0032046: Configuration - CMake Installs .lib files to libd instead of lib on Windows | Description | After using CMake install with the following settings, .lib files on Windows are installed in libd, but .so files on Linux are installed in lib. The .lib files are expected to be saved in "lib" as I configured, or they should have the same behavior on Windows and Linux.
INSTALL_DIR_LAYOUT=Unix
INSTALL_DIR_LIB=lib
CMAKE_BUILD_TYPE=Debug | Steps To Reproduce | | Additional information and documentation updates | | Tags | No tags attached. | Relationships | related to | 0032035 | feedback | efferre79 | Community | Configuration - bug in OpenCASCADEConfig.cmake when using INSTALL_DIR_CMAKE |
| Attached Files | |
| Issue History | Date Modified | Username | Field | Change | 2021-01-10 16:39 | taoyouh | New Issue | | 2021-01-10 16:39 | taoyouh | Assigned To | => bugmaster | 2021-01-10 17:11 | kgv | Target Version | => 7.6.0* | 2021-01-10 17:11 | kgv | Summary | CMake Installs .lib files to libd instead of lib on Windows => Configuration - CMake Installs .lib files to libd instead of lib on Windows | 2021-01-11 12:13 | kgv | Relationship added | related to 0032047 | 2021-01-11 16:21 | bugmaster | Note Added: 0098077 | | 2021-01-11 16:21 | bugmaster | Assigned To | bugmaster => taoyouh | 2021-01-11 16:21 | bugmaster | Status | new => feedback | 2021-01-12 07:36 | taoyouh | Note Added: 0098082 | | 2021-01-12 07:36 | taoyouh | Note Edited: 0098082 | bug_revision_view_page.php?bugnote_id=98082#r24288 | 2021-01-12 15:44 | kgv | Relationship added | related to 0032035 |
Notes |
|
|
Hi,
For what reason you :
1. use Unix layout on Windows
2. are not satisfied condition for Windows
lib - Release libraries
libd - Debug libraries
|
|
|
|
I am integrating Open Cascade with a package manager (conan), which maintains the list of lib files by itself without using CMake. Thus, I need a universal package layout, so I don't need to figure out whether they are in "win64/vc14" or "lin64/gcc", "lib" or "libd".
With the current behavior, I need to check whether the library files are in "lib" or "libd". Everyone using custom build systems or package managers will face this problem. I hope that files can be in the same directory across all platforms.
|
|
|