The error is as follows:
ld: library not found for -lXXX
clang: error: linker command failed with exit code 1 (use -v to see invocati
When we refer to static libraries, we do not configure library search paths, which results in an error
resolvent:
Build settings – library search paths view the path of the XXX file. If the path is wrong or there is no path, add the correct path again, and then compile Xcode.
Read More:
- [solution] LD: warning: directory not found for option
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- The solution of undefined reference to error
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- How to solve the error after Java importing project
- Ffmpeg (libx264) compiling for IOS
- OTS parsing error: invalid version tag
- Configure OpenGL in CodeBlocks
- Vs2013 compiling ffmpeg
- configure: error: C++ preprocessor “/lib/cpp” fails sanity check
- main.cpp : (. Text + 0xd06): undefined reference to XX method | simple record
- Linux CentOS installing protobuf
- Xcode ffmpeg Error:/clang:1:1: linker command failed with exit code 1 (use -v to see invocation)
- Summary of problems encountered in compiling opengl code
- Solution: error: libtool library used but ‘libtool’ is undefined
- Vs2015 configuring OpenGL (glfw Library)
- Solve the problem of prompt couldn’t find path to unrear library after installing unrear in Python
- Access restriction: the type ‘application’ is not API (restriction on required LIB)
- Fatal error C1853 error occurs when there are mixed .c files in the VS project
- Opencv: the application can’t start normally