GitHub user spacefang edited a comment on the discussion: iotdb配置C++原生接口

花了一下午时间终于编译成功了,我手动下载了apache-maven-3.9.6-bin.zip,maven-wrapper-3.3.2.jar,以及iotdb-bin-resources-main.zip文件,然后进行手动编译thrift,同时我在编译命令中手动指定
 Boost 库的路径,直接告诉 cmake 去哪里找它需要的文件。
这是我的编译命令,希望能给遇到此问题提供借鉴:
`./mvnw clean package \
-pl example/client-cpp-example \
-am \
-DskipTests \
-P with-cpp \
-Diotdb-tools-thrift.version=0.20.0.0 \
-Dcmake.args="-DboostLibraryDir=/usr/lib/x86_64-linux-gnu/"`
<img width="1333" height="437" alt="image" 
src="https://github.com/user-attachments/assets/01b97461-1413-4831-b75e-1809c5f53af8";
 />


GitHub link: 
https://github.com/apache/iotdb/discussions/12462#discussioncomment-14645006

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to