Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

c++ linkage against std++fs missing in CMakeLists.txt

オープン
#62 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
cmake, cpp
領域
build-system

調査の方向性

functional_modeler/functional_modeler/CMakeLists.txt を開き、functional_modeler の target_link_libraries 宣言を調べます。報告されている RockyLinux 8 と Clang 18.1.8 の環境でプロジェクトをビルドし、filesystem のリンクが欠落していることによる unknown-linkage ビルド失敗が発生しなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
71
フォーク
5
平均マージ
7時間 3分
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntelLabs/encrypted-computing-sdk のほかの issue

IntelLabs/encrypted-computing-sdk の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。