How do I install a c++ library so I can use it?

前端 未结 4 1964
情深已故
情深已故 2021-01-31 08:34

I have this library called BASS which is an audio library which I\'m going to use to record with the microphone. I have all the files needed to use it, but I don\'t know how to

4条回答
  •  醉梦人生
    2021-01-31 09:32

    Run this command in a terminal or console.

    cpp -v
    

    Notice at the end of the output, you'll see a line like this:

    #include<...> search starts here:
    

    There will be a list of directories below that line. Move the package folder to one of those directories. Then try importing the module with <>.

提交回复
热议问题