So, if I go to the state of the PR where I updated the Cmake Plugin version to the latest versions I got the build working for all systems. So, there must have been some changes since then that are causing problems. If I leave the generator at mingw, I seem to be missing some glibc header files. If I update it to Visual Studio 2017 (Like the IoTDB build) I get errors from the MSBuild executable complaining about problems in the vcxproj files.
I’ll take a deeper look … I assume what happened, was that you were working on the code using your C/C++ IDE and added dependencies that the maven+cmake build doesn’t know about. In this case I guess we should work together on this to get it working again. Chris Von: Christofer Dutz <[email protected]> Datum: Mittwoch, 12. Juni 2024 um 15:53 An: [email protected] <[email protected]> Betreff: AW: Re:AW: Re:Re: No support for C++ lib in windows environment Hi, So, I think now I know what’s going on … I had finished supporting TsFile on all types (Win, Lnx, Mac) for both x86 as well as aarch64. However last week you replaced the build to no longer use the cmake-maven-plugin, but the exec-maven-plugin. May I ask why? This version now definitely is no longer portable to other OSes. Chris Von: Christofer Dutz <[email protected]> Datum: Mittwoch, 12. Juni 2024 um 15:39 An: [email protected] <[email protected]> Betreff: AW: Re:AW: Re:Re: No support for C++ lib in windows environment In general, you should be able to simply run the build on Windows … given the MinGW toolchain is available, it should build without issues. However, I’ll give it a try and double check … Chris Von: Colin_Lee <[email protected]> Datum: Mittwoch, 12. Juni 2024 um 13:09 An: [email protected] <[email protected]> Betreff: Re:AW: Re:Re: No support for C++ lib in windows environment Hi Chris, Thank you for your reply. There seems to be a misunderstanding; C++ has not yet been supported for compilation on Windows, as the project has not continued to adapt for the time being. The issue encountered is related to the installation permissions of Cython for Python TsFile on GitHub CI. The compilation chain in TsFile's current code is adapted to the GNU compilation environment on Linux, and the MinGW compilation chain is quite similar to this. My development environment is Linux, and I have limited experience in developing C++ programs on Windows. I think that being compatible with both should not be a burden, as our code does not use Boost, so it might just be a difference in the compilation script. I can try to support both compilation chains. Best regrads, Colin At 2024-06-12 17:45:57, "Christofer Dutz" <[email protected]> wrote: >Hi Colin, > >I just had a look and I had already updated the build-chain to the latest >version of CMake. >May I ask which issues you are having? > >I do see that we’re using the MinGW build tool-chain in TsFile … in IoTDB >we’re using the Visual Studio one, as Boost was not compatible with this. > >Would you all prefer using the VisualStudio build tool chain? > >Should be a quick change. > >Chris > > > >Von: Colin_Lee <[email protected]> >Datum: Freitag, 7. Juni 2024 um 09:17 >An: [email protected] <[email protected]> >Betreff: Re:Re: No support for C++ lib in windows environment >Thank you very much. > >I have written a Cython project to help users read tsfiles or write pandas >DataFrames into tsfiles within a Python environment. > >To build Cython on CI, I need to install some third-party packages, such as >Cython and NumPy. > >I tried to install Python packages using pip3 in GitHub's workflow >unit-test.yml, but I encountered permission issues on macos-latest. > >I add --user to `pip3 install` cmd but it not work. > >What should I modify? Thanks you again. > > > > >Best regards > >Colin. > > > > > > > >The link is >https://github.com/apache/tsfile/actions/runs/9312534947/job/25633479617 > >Error message: > >``` > >[INFO] --- exec:1.6.0:exec (install-python-dependencies) @ tsfile-python --- > >error: externally-managed-environment > > > > >× This environment is externally managed > >╰─> To install Python packages system-wide, try brew install > > xyz, where xyz is the package you are trying to > > install. > >``` > > > > > > > > > > > > > > > > > >At 2024-06-07 03:09:53, "Christofer Dutz" <[email protected]> wrote: >>I've just recently helped get cmake working on windows... Will update things >>as soon as I'm home from Bratislava. >> >>Chris >> >>Gesendet von Outlook für Android<https://aka.ms/AAb9ysg> >>________________________________ >>From: Yuan Tian <[email protected]> >>Sent: Thursday, June 6, 2024 9:42:29 AM >>To: [email protected] <[email protected]> >>Subject: Re: No support for C++ lib in windows environment >> >>ok, Colin, feel free to ask in mail list about the Windows compilation >>chain if you have any problems. I think Chris is expert in that and can do >>some help for you. >> >> >>Best regards, >>--------------------- >>Yuan Tian >> >>On Thu, Jun 6, 2024 at 3:16 PM Colin_Lee <[email protected]> wrote: >> >>> Hi Tian, >>> >>> Thank you for your attention. >>> >>> TsFile C++ currently does not support the Windows compilation chain, but >>> it is working on Linux and MacOS. >>> >>> And support for C++ compilation on Windows will be added later. >>> >>> >>> >>> >>> Best regards, >>> >>> Colin >>> >>> >>> >>> >>> >>> At 2024-06-06 15:07:01, "Yuan Tian" <[email protected]> wrote: >>> >Hi all, >>> > >>> >I just found that we don't support C++ in the Windows environment, is >>> there >>> >any reason for this? >>> > >>> >Best regards, >>> >------------------------ >>> >Yuan Tian >>> >
