matplotplusplus: LNK1104 cannot open file '..\..\..\..\source\matplot\Debug\matplot.lib'
Describe the bug
Build ALL_BUILD failed in vs2019 on windows10
Steps to Reproduce md build cd build cmake …
Then open matplotplusplus.sln in vs2019, click build Output
Severity Code Description Project Path File Line Suppression State
Error LNK1104 cannot open file '..\..\..\..\source\matplot\Debug\matplot.lib' example_lighting_2 C:\Users\songy\cloud\matplotplusplus\build\examples\appearance\camera\lighting C:\Users\songy\cloud\matplotplusplus\build\examples\appearance\camera\lighting\LINK 1
Error LNK1104 cannot open file '..\..\..\..\source\matplot\Debug\matplot.lib' example_lighting_3 C:\Users\songy\cloud\matplotplusplus\build\examples\appearance\camera\lighting C:\Users\songy\cloud\matplotplusplus\build\examples\appearance\camera\lighting\LINK 1
Error LNK1104 cannot open file '..\..\..\..\source\matplot\Debug\matplot.lib' example_lighting_5 C:\Users\songy\cloud\matplotplusplus\build\examples\appearance\camera\lighting C:\Users\songy\cloud\matplotplusplus\build\examples\appearance\camera\lighting\LINK 1
Environment:
- OS: Windows10
- Compiler: MSVC
- Compiler version: 19.28.29213.0
Additional context cmake … output:
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.20206.
-- The C compiler identification is MSVC 19.28.29213.0
-- The CXX compiler identification is MSVC 19.28.29213.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.28.29213/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.28.29213/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_MODULE_PATH=C:/Users/songy/cloud/matplotplusplus/cmake
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
-- Found ZLIB: C:/Users/songy/cloud/vcpkg/installed/x86-windows/lib/zlib.lib (found version "1.2.11")
ZLIB Found
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Could NOT find BLAS (missing: BLAS_LIBRARIES)
-- LAPACK requires BLAS
-- A library with LAPACK API not found. Please specify library location.
-- Could NOT find BLAS (missing: BLAS_LIBRARIES)
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find FFTW (missing: FFTW_INCLUDE_DIRS)
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
-- Looking for __fbufsize
-- Looking for __fbufsize - not found
-- Looking for min
-- Looking for min - found
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/songy/cloud/matplotplusplus/build
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (22 by maintainers)
Can you build only matplot targets and paste the output of only that?