View previous topic :: View next topic |
Author |
Message |
SCHRAJO
Joined: 09 Aug 2023 Posts: 2
|
Posted: Thu Aug 10, 2023 3:39 pm Post subject: how to include external libraries to plato |
|
|
How do I include external libraries like ImageMagick to Plato.
All I find are ways to include project items.
Can someone help me? |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1227 Location: Morrison, CO, USA
|
Posted: Fri Aug 11, 2023 3:35 am Post subject: |
|
|
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. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8037 Location: Salford, UK
|
Posted: Fri Aug 11, 2023 6:48 am Post subject: |
|
|
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. |
|
Back to top |
|
|
SCHRAJO
Joined: 09 Aug 2023 Posts: 2
|
Posted: Fri Aug 11, 2023 9:00 am Post subject: |
|
|
Thank you, I found it and it works |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1227 Location: Morrison, CO, USA
|
Posted: Fri Aug 11, 2023 8:40 pm Post subject: |
|
|
Paul, much better solution! Something else for me to look for in Plato! |
|
Back to top |
|
|
|