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
>>>
>

Reply via email to