Adding Library in Juce

Hello,
I’m a new user, and i’m looking how to add a .lib in projucer for an existing project.
This is le library that i would like to add:

Best regard :slight_smile:

I haven’t done it using Projucer myself, but I saw this advice from @reuk:

“If you’re using a library with its own translation units (normally built into a static or dynamic library) then you’ll also need to include the name of this library in the “additional libraries to link” field, and you’ll need to supply the path to the compiled library in the “extra library search paths” field.”

Option 2 would be to try to convert the library into a module, which is very easy to add to Projucer.

Option 3 would be to use Cmake for your project ond then use add_subdirectory to trigger the library’s own cmakelists.

https://cmake.org/cmake/help/latest/guide/tutorial/index.html

1 Like