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

jsoncpp_lib_static.lib - cannot open input file #57

Open
ResTedRU opened this issue Jan 17, 2022 · 1 comment
Open

jsoncpp_lib_static.lib - cannot open input file #57

ResTedRU opened this issue Jan 17, 2022 · 1 comment
Labels
help wanted Extra attention is needed windows Windows specific issue

Comments

@ResTedRU
Copy link

Hey.
It's been a few days now that I can't figure out the error I'm getting when I build the project:

Error LNK1181	cannot open input file 'jsoncpp_lib_static.lib'	ets2-job-logger
[...]\CMakeBuilds\3071a8b8-cf99-4342-859e-e62fe2574c9e\build\x64-Release\gui\LINK

Any ideas why this happened? Because I really can't find this file anywhere and without it I can't move on ((

OC: Windows
VC 2019 x64

@Lihis Lihis added windows Windows specific issue help wanted Extra attention is needed labels Jan 17, 2022
@ResTedRU
Copy link
Author

ResTedRU commented Jan 19, 2022

I found a way to fix it:

  1. go to [...]\gui
  2. Open CMakeLists.txt
  3. Make changes to lines 57 and 58 to
    set(JSONCPP_LIBRARIES jsoncpp)
    set(JSONCPP_INCLUDE_DIRS jsoncpp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed windows Windows specific issue
Projects
None yet
Development

No branches or pull requests

2 participants