Comments (5)
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.
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.
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.
I have modified the above mentioned problems in the pr #3.
from paozhu.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paozhu.