IntelLabs / IntelLabs/encrypted-computing-sdk
c++ linkage against std++fs missing in CMakeLists.txt
- 主要言語
- Python
- スター
- 72
- フォーク
- 5
- 平均マージ
- 7時間 3分
- マージ済み PR(30日)
- 2
説明
**Version Information (Put N/A for Not Applicable)**
| Software | Version(s) |
| ---------------------------| --------------- |
| Linux | RockyLinux 8 |
| Git | |
| CMake | 3.26 |
| Compiler (GCC, Clang, etc.)| clang 18.1.8 |
| Python | |
| Doxygen | |
| Kernel Generator | |
| Documentation | |
**Describe the bug**
c++ linkage against std++fs missing in CMakeLists.txt with a unknown linkage
```
```
**Solution**
```
--- a/functional_modeler/functional_modeler/CMakeLists.txt
+++ b/functional_modeler/functional_modeler/CMakeLists.txt
@@ -10,7 +10,7 @@ set(${PROJECT_NAME}_SOURCES
add_executable(functional_modeler ${${PROJECT_NAME}_SOURCES} ${IDE_HEADERS})
target_include_directories(functional_modeler PRIVATE ${INCLUDE_DIRS})
-target_link_libraries(functional_modeler PUBLIC nlohmann_json::nlohmann_json snap OpenMP::OpenMP_CXX common)
+target_link_libraries(functional_modeler PUBLIC nlohmann_json::nlohmann_json snap OpenMP::OpenMP_CXX common stdc++fs)
if(ENABLE_DATA_FORMATS)
target_link_libraries(functional_modeler PUBLIC HERACLES_DATA_FORMATS::heracles_data_formats)
endif()
diff --git a/functional_modeler/functional_modeler/function
```
**To Reproduce**
**Expected behavior**
Build to be completed correctly.
コントリビューションガイド
調査の方向性
functional_modeler/functional_modeler/CMakeLists.txt を開き、functional_modeler の target_link_libraries 宣言を調べます。報告されている RockyLinux 8 と Clang 18.1.8 の環境でプロジェクトをビルドし、filesystem のリンクが欠落していることによる unknown-linkage ビルド失敗が発生しなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cmake, cpp
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 48/100