And I think I can help you folks with integration of this into your build In general. I have learnt quite a bit of this stuff recently.
Right now our build uses the cmake-maven-plugin to run cmake builds inside maven. We added a prerequisite check to our build to automatically check If all tools are available in usable versions. All working nicely :-) So if I don't react to messages here ... I'm not reading the details of all emails here ... please ping me personally ... or project the buildman logo onto the clouds above my home town ... you get to choose ;-) Chris Am 07.05.20, 17:39 schrieb "Christofer Dutz" <[email protected]>: Hi all, if you look in the PLC4X Project we download and build Thrift as part of our build (“with-proxies” profile). It way quite difficult to setup as thrift required Boost … but now it seems to be working nicely on: Windows, Mac, Linux. And yes .. I talked to some MyNewt Folks about contacting you folks about a C TSFile implementation. Cause for example using IoTDBs TSFiles on embedded MyNewt System would be super awesome. Chris Von: Julian Feinauer <[email protected]> Datum: Donnerstag, 7. Mai 2020 um 17:30 An: Xusheng Zhang <[email protected]>, Xiangdong Huang <[email protected]>, "[email protected]" <[email protected]>, Christofer Dutz <[email protected]> Cc: Giorgio Zoppi <[email protected]>, 乔嘉林 <[email protected]> Betreff: Re: 回复: IoTDB Native Hi, forwarding this to the dev list and adding @Christofer Dutz<mailto:[email protected]>. He might be able to help you with Thrift... he did all oft hat for PLC4X. Julian Von: Xusheng Zhang <[email protected]> Datum: Donnerstag, 7. Mai 2020 um 17:29 An: Julian Feinauer <[email protected]>, Xiangdong Huang <[email protected]> Cc: Giorgio Zoppi <[email protected]>, 乔嘉林 <[email protected]> Betreff: 回复: IoTDB Native Hi, I'm the undergraduate student who is working on to bulid the C++ client for IoTDB. For users who use IoTDB client to insert data or somethings else, instead of directly using API which automatically generated by thrift, we create Session class to package these rpc API so users can operate data easily. Now I have written the Session class(and other related classes) in C++. But for thrift 0.13.0 and VS 2019, I can't compile thrift successfully to get library(.lib file). I have tell this problem to thrift developers. But they don't have solutions and suggest I use cmake to complie thrift, not use VS2019. I haven't tried to use cmake yet. Just because of this, I haven't test whether the C++ client example demo can run normally. However, if the test passed, I have no idea how to make the compile automatically? (My current thoughts are to write a shell script file so user can get C++ thrift API directly. But whether getting C++ thrift API or using the client later on, the user should have thrift on his own computer. Even need boost to run the client) Julian and Giorgio, would you mind guiding me how to complie thrift 0.13.0 to get cpp library easily and how to complie C++ client automatically? I'm puzzled. Best Regards, Xusheng Zhang ------------------ 原始邮件 ------------------ 发件人: "Julian Feinauer"<[email protected]>; 发送时间: 2020年5月7日(星期四) 晚上10:36 收件人: "Xiangdong Huang"<[email protected]>; 抄送: "Giorgio Zoppi"<[email protected]>;"全全半全全全半"<[email protected]>;"乔嘉林"<[email protected]>; 主题: Re: IoTDB Native You need to love this Open Source thing, right? Ist just so awesome : ) J Von: Xiangdong Huang <[email protected]> Datum: Donnerstag, 7. Mai 2020 um 16:36 An: Julian Feinauer <[email protected]> Cc: Giorgio Zoppi <[email protected]>, 重庆大学张旭升 <[email protected]>, 乔嘉林 <[email protected]> Betreff: Re: IoTDB Native Hi, That could not be better! Best, ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Julian Feinauer <[email protected]<mailto:[email protected]>> 于2020年5月7日周四 下午10:34写道: Hey, should we move this tot he dev list? As I know one Developer from the mynewt project (very senior C developer) who thinks about doing a C implementation. So I would like to bring him in here as well : ) Julian Von: Xiangdong Huang <[email protected]<mailto:[email protected]>> Datum: Donnerstag, 7. Mai 2020 um 16:33 An: Giorgio Zoppi <[email protected]<mailto:[email protected]>>, 重庆大学张旭升 <[email protected]<mailto:[email protected]>> Cc: Julian Feinauer <[email protected]<mailto:[email protected]>>, 乔嘉林 <[email protected]<mailto:[email protected]>> Betreff: Re: IoTDB Native Hi Julian, Giorgio introduces the idea in [1]. I think his initial purpose is to let IoTDB/TsFile more efficient. But in my opinion, this feature is very interesting not only for the performance but also because if we have a TsFile implementation with C/C++ version. We can read and write TsFile on the edge side more easily. Maybe we can write TsFile and read the data on an embedded device with 16MB or less... Then just sends the TsFile to the cloud to sync data with the cloud. [1] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-638 Best, ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Xiangdong Huang <[email protected]<mailto:[email protected]>> 于2020年5月7日周四 下午10:29写道: Hi, Xusheng Zhang is an undergraduate student from Chongqing University. Though he is not in the same university as me, I know he is becoming trying to make contribution to IoTDB. As far as I know, he is more familiar with C++ rather than Java. Now, I know he is working on compiling the C++ thrift API of IoTDB automatically. (I mean, after running some scripts, we can get the binary .so file or .dll file directly, even though Booststrap and Thrift lib is not installed. I know PLC4x project can do that ..). But I do not know the detailed progress as Jialin is mentoring him. Maybe, you can help him to finish the above task if it is not hard.. And Xusheng, are you interested in this new task? Best, ----------------------------------- Xiangdong Huang School of Software, Tsinghua University Giorgio Zoppi <[email protected]<mailto:[email protected]>> 于2020年5月7日周四 下午10:23写道: Ok, we will provide training if it is needed to Modern C++, aka Modern C++ for Java Programmers. keep us in touch. Best Regards, Giorgio.
