soccer jersey forums.silverfrost.com :: View topic - how to include external libraries to plato
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to include external libraries to plato

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato
View previous topic :: View next topic  
Author Message
SCHRAJO



Joined: 09 Aug 2023
Posts: 2

PostPosted: Thu Aug 10, 2023 3:39 pm    Post subject: how to include external libraries to plato Reply with quote

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
View user's profile Send private message
wahorger



Joined: 13 Oct 2014
Posts: 1227
Location: Morrison, CO, USA

PostPosted: Fri Aug 11, 2023 3:35 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8037
Location: Salford, UK

PostPosted: Fri Aug 11, 2023 6:48 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
SCHRAJO



Joined: 09 Aug 2023
Posts: 2

PostPosted: Fri Aug 11, 2023 9:00 am    Post subject: Reply with quote

Thank you, I found it and it works
Back to top
View user's profile Send private message
wahorger



Joined: 13 Oct 2014
Posts: 1227
Location: Morrison, CO, USA

PostPosted: Fri Aug 11, 2023 8:40 pm    Post subject: Reply with quote

Paul, much better solution! Something else for me to look for in Plato!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group