Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jansson 2.14 doesn't generate lib file for Windows #1606

Open
darkshade9 opened this issue Aug 10, 2024 · 1 comment
Open

jansson 2.14 doesn't generate lib file for Windows #1606

darkshade9 opened this issue Aug 10, 2024 · 1 comment

Comments

@darkshade9
Copy link

I'm trying to use this wrap

https://wrapdb.mesonbuild.com/v2/jansson_2.14-2/jansson.wrap

for MSVC-based builds (uses: ilammy/msvc-dev-cmd@v1)

for the MSVC-based version, I am getting this error:
LINK : fatal error LNK1181: cannot open input file 'subprojects\jansson-2.14\jansson.lib'

I'm looking for some guidance if I am doing something wrong.

@darkshade9
Copy link
Author

I believe I resolved this by setting this as a static library rather than shared, for my case at least
project('jansson', 'c', version : '2.14', license : 'MIT', default_options: ['default_library=static'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant