Open ssghost opened 3 years ago
Read the error-message and u will see what failed/missing ....
Read the error-message and u will see what failed/missing ....
I know the library "jsoncpp_lib_static" is missing, but the library this name refers is actually deprecated. I compiled another version of "libjsoncpp" and find the flag in the file link.txt (build>ethminer>CMakeFiles>ethminer.dir), change "-ljsoncpp_lib_static" to "-ljsoncpp" and copy "libjsoncpp.a" to LIBRARY_PATH and here is the new error message:
Describe the bug
... [100%] Linking CXX executable ethminer ld: library not found for -ljsoncpp_lib_static clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [ethminer/ethminer] Error 1 make[1]: *** [ethminer/CMakeFiles/ethminer.dir/all] Error 2 make: *** [all] Error 2
To Reproduce
> cmake --build .
Expected behavior built successful.
Screenshots (Optional)
Environment (please complete the following information):
Additional context see above.