Replies: 2 comments 3 replies
-
|
You'll need Visual Studio 2019 or later. The prerequisites are provided via NuGet, which is a standard VS feature. The "BUILD.md" file provides some step-by-step instructions for making sure the NuGet dependencies are installed... |
Beta Was this translation helpful? Give feedback.
-
The CUPS library (libcups) uses the NuGet libressl_native packages when compiling with Visual Studio. The INSTALL.md file (recently renamed from BUILD.md for consistency) says the following at the bottom:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone indeed successfully compiled anything in this project on Windows?
It looks so easy. Clone the project, open the *.sln, compile.
Well, no. Maybe there is a special configuration required that is not mentioned explicitly because "everyone else knows" or "nobody cares".
I tried with VS2022 and after solving the puzzle how to get the required OpenSSL headers and libraries into the environment without changing the base code, I constantly stumble over "compiler mis identified as CLANG" problems (__has_extension), zlib.h not found (zconf.h in the same directory IS found), ...
I confess, I'm not a VS specialist and C++ is not my native language either. I just want to run "ipptool" in a Windows-environment, so I need an *.exe.
And since I have strict order to never run software from "elsewhere" but only a handful of whitelisted ones and stuff "directly from [company trusted vendors]", I have to compile it for myself. I coud argue with my boss, if "the vendor" would offer binary builds right from the project page, but this is no option in this project. At least I got the OpenSSL binaries approved and did not need to compile them locally, which would have required to first get "Strawberry Perl" and "NASM" binaries approved or compiled from scratch too ... :-(
Does anyone have an idea how I can manage to get a Windows *.exe out of this codebase?
Beta Was this translation helpful? Give feedback.
All reactions