Code Monkey home page Code Monkey logo

Comments (5)

hggq avatar hggq commented on August 20, 2024

Thank you very much for your attention. We really need talents in this field to improve the use of vcpkg under windows. If you have expertise in this field, you can submit a PR and I will do the merger here

from paozhu.

SHIINASAMA avatar SHIINASAMA commented on August 20, 2024

You mentioned windows, I assume you have the intention to port the project to windows. So, there are some issues that are currently hindering the project's windows port, which I found when I was building paozhu using msys2.

  • The fcntl function and the flock structure are not present in the msys2 toolchain.
  • Using some too short macros which causes redefinition with existing macros on windows.
  • Using some data types that don't work well cross-platforms, such as unsigned long int and unsigned long. These standard variables are flawed when developing across platforms, because their actual size is limited by the platform. The current problem is that these variables are used in BrotliDecoderDecompressStream and BrotliEncoderCompressStream functions.

I have implemented vcpkg on unix-like systems, but it doesn't work well on windows due to the three limitations above, especially the first one.

from paozhu.

hggq avatar hggq commented on August 20, 2024

You mentioned windows, I assume you have the intention to port the project to windows. So, there are some issues that are currently hindering the project's windows port, which I found when I was building paozhu using msys2.

* The **fcntl** function and the **flock** structure are not present in the msys2 toolchain.

* Using some **too short macros** which causes redefinition with existing macros on windows.

* Using some data types that don't work well cross-platforms, such as **unsigned long int** and **unsigned long**. These standard variables are flawed when developing across platforms, because their actual size is limited by the platform. The current problem is that these variables are used in **BrotliDecoderDecompressStream** and **BrotliEncoderCompressStream** functions.

I have implemented vcpkg on unix-like systems, but it doesn't work well on windows due to the three limitations above, especially the first one.

I have updated code, thanks offer detailed information, but I don't understand "Using some too short macros which causes redefinition with existing macros on windows.", you need still more detailed information for this one

from paozhu.

SHIINASAMA avatar SHIINASAMA commented on August 20, 2024

I have modified the above mentioned problems in the pr #3.

from paozhu.

hggq avatar hggq commented on August 20, 2024

I have modified the above mentioned problems in the pr #3.

OK! Later, I will merge the PR code

from paozhu.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.