I'm trying to include an external library to my visual studio project on windows. The library in question is mpg123, to decode mp3 files.
I followed the install instructions included with the library download, which said to do:
./configure
make
make install
and tried different configurations. Loading the header files works, and makes intellisense detect the methods I'm trying to use in my project, but I think I also need to include a .lib file, that would have to be included in the build. None of the configurations for Make have resulted in any .lib files.
I'm not familiar yet with third party files for c++ projects and linking, and the internet is not helpful in telling me what exactly I need to do make this work.
You could use vcpkg to config the mpg123 in Visual Studio.
CMD : vcpkg install mpg123:x64-windows
and vcpkg will download the mpg library, then add DLL reference for project automatically.
For adding mpg123 manually, please read the tutorial: Create a client app that uses the DLL