Skip to content

fatal error LNK1181: cannot open input file 'Release\screen.lib' #264

Answered by ArthurSonzogni
xFGhoul asked this question in Q&A
Discussion options

You must be logged in to vote

That's dynamic libraries. You need either:

  1. Build statically
  2. Add the shared libraries in your path when executing it.

In the past, I was forcing users to build FTXUI statically. Then Gentoo users asked for the possibility to build shared libraries instead:
#223

The default on Linux is to build statically. On Windows, the default are to build dynamically.

In you case, you can build statically using:

set(BUILD_SHARED_LIBS OFF)

Replies: 1 comment 1 reply

Comment options

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

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

This discussion was converted from issue #263 on November 21, 2021 17:03.