Silverfrost Forums

Welcome to our forums

how to include external libraries to plato

10 Aug 2023 2:39 #30503

How do I include external libraries like ImageMagick to Plato. All I find are ways to include project items. Can someone help me?

11 Aug 2023 2:35 #30504

You have to do this in the Project::Properties.

Go to Linker Options::Extra Linker Options and put in the name of the library file. If it has spaces in the name, enclose it in double quotes.

If you are using a DLL, you'll also need to make it available as an Import Library.

Under Compiler Options::Source, select Import Libraries and enter the name of the DLL. Again, if the file name contains spaces, enclose the name in double quotes.

11 Aug 2023 5:48 #30505

A more direct way is to use the Project Explorer window and right click on References. Then add a reference to the library using the dialog.

11 Aug 2023 8:00 #30506

Thank you, I found it and it works

11 Aug 2023 7:40 #30507

Paul, much better solution! Something else for me to look for in Plato!

Please login to reply.