Skip to content

How to build for Windows as static libraries? #1182

Closed Answered by silverbacknet
dgnuff asked this question in Q&A
Discussion options

You must be logged in to vote

libheif is going to be a bit of a slog to cut your teeth on, but since you have to start with libde265 anyway, it won't be too bad.

The basic cmake gui is functional enough, point it to the base folder and then pick a build folder anywhere you want, hit configure, pick your build environment. You can choose options there, all you want is to uncheck BUILD_SHARED_LIBS, generate, open project or go find the project files in your build folder, and build.

So opening libheif and changing to a new build folder for that (the UI is clunky about changing projects), configure. Uncheck the same BUILD_SHARED_LIBS, and skip down to LIBDE265_INCLUDE_DIR and LIBDE265_LIBRARY, fill them in appropriately. …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@dgnuff
Comment options

Comment options

You must be logged in to vote
1 reply
@dgnuff
Comment options

Answer selected by dgnuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants