could not find library

alice 21 Reputation points
2022-03-30T02:29:08.897+00:00

I have a cmake project from existing code. spdlog https://github.com/gabime/spdlog
When I build it with visual studio, it show could not find fmt (library).
How can I import library https://github.com/fmtlib/fmt

I search some example, but it seem to use cpp not the cmake. So I cant find the interface

Does it use another method to search library for cmake project?
https://subwaymatch.medium.com/opencv-410-with-vs-2019-3d0bc0c81d96

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
32,746 questions
{count} votes

1 answer

Sort by: Most helpful
  1. alice 21 Reputation points
    2022-03-31T03:16:51.197+00:00

    Ok, thanks.

    Q1.
    Could you give the method that play visual studio?

    step1.
    clone repository project with visual studio.

    step2
    the project have cmakelist.
    the project depend on other library
    I already build the library and named xxx.lib

    step3
    how to let visual studio to find the lib

    0 comments No comments