How to compile LSQuic on Windows? #1273
Replies: 3 comments 7 replies
-
|
And also if uWebSockets.js repo doesn’t do any changes to its dependencies, maybe it would be better to use something like vcpkg and skip manual zlib, boringssl, lsquic compilation? Fetch them ready and have no troubles at all. I can do that in fork and PR. If you have any reasons to avoid package managers, then how do I compile lsquic? |
Beta Was this translation helpful? Give feedback.
-
|
Package managers are the most malware infested, resting supply chain attack pieces of shit ever invented by mankind. They are almost always controlled by non-authors and change "maintainers" in very promiscuous, glaringly insecure ways. Building all deps from a fix git submodule is a trillion galaxies better in every measurable way. In fact, Git as software deployment overall is a trillion times more secure than package managers. |
Beta Was this translation helpful? Give feedback.
-
|
Fighting with manifest mode of vcpkg is even worse, bad idea. So: How to compile LSQuic on Windows? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently trying to refactor build.c (parallelised it and Linux build is several times faster + gonna PR soon, don't you mind?), however Windows doesn't want to build LSQuic.
This script fails
Error message:
( it was compiling well until lsquic_versions_to_string.c ls-sfparser.c showed up)
lsquic\src\liblsquic\lsquic_versions_to_string.c(26,18): error C2059:
syntax error: ')' [lsquic\src\liblsquic\lsquic.vcxproj]
lsquic\src\liblsquic\lsquic_versions_to_string.c(42,18): error C2059:
syntax error: ')' [lsquic\src\liblsquic\lsquic.vcxproj]
lsquic\src\liblsquic\lsquic_versions_to_string.c(64,35): warning C403
4: sizeof returns 0 [lsquic\src\liblsquic\lsquic.vcxproj]
Generating Code...
Done Building Project "lsquic\src\liblsquic\lsquic.vcxproj" (default
targets) -- FAILED.
Done Building Project "lsquic\ALL_BUILD.vcxproj" (default targets) --
FAILED.
Build FAILED.
"
"lsquic\ALL_BUILD.vcxproj" (default target) (1) ->
"lsquic\src\liblsquic\lsquic.vcxproj" (default target) (3) ->
(ClCompile target) ->
lsquic\src\liblsquic\lsquic_versions_to_string.c(26,18): error C205
9: syntax error: ')' [lsquic\src\liblsquic\lsquic.vcxproj]
lsquic\src\liblsquic\lsquic_versions_to_string.c(42,18): error C205
9: syntax error: ')' [lsquic\src\liblsquic\lsquic.vcxproj]
Beta Was this translation helpful? Give feedback.
All reactions