COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 07-12-2017, 04:54 PM   #1
MSK
Human being with feelings
 
Join Date: Jan 2017
Posts: 43
Default Add library to VS 2017

Hello all,

I'm trying to add a .dll library to my project in VS 2017, and I'm not sure the right way to do it. I'm using Youlean's IPlug fork, and ideally I'd like to add the library the same way that the cairo libraries are added to the project, but I can't figure out where that is.

Any help would be appreciated.

Thanks!
MSK
MSK is offline   Reply With Quote
Old 07-13-2017, 09:19 AM   #2
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 654
Default

Use:
Code:
#pragma comment(lib,"..\\..\\YCAIRO\\Cairo_Graphics\\Lib-Win\\cairo-Win32-Release.lib")
This is the simplest way of doing it. And add headers to your project too.
Youlean is offline   Reply With Quote
Old 07-19-2017, 09:41 AM   #3
MSK
Human being with feelings
 
Join Date: Jan 2017
Posts: 43
Default

Quote:
Originally Posted by Youlean View Post
Use:
Code:
#pragma comment(lib,"..\\..\\YCAIRO\\Cairo_Graphics\\Lib-Win\\cairo-Win32-Release.lib")
This is the simplest way of doing it. And add headers to your project too.
Thanks Youlean! That did the trick.
MSK is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.