Jump to content

  • Log In with Google      Sign In   
  • Create Account


Linking Help


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 JonBMN   Members   -  Reputation: 701

Like
0Likes
Like

Posted 27 August 2012 - 10:22 AM

I'm trying to include a serial library in Visual studio 2012 and it seems to not be pointing to the correct place when I try to include these libraries.
Any help would be appreciated and if code is needed let me know I'll be more than happy to post it. Thank you!

Sponsor:

#2 JonBMN   Members   -  Reputation: 701

Like
0Likes
Like

Posted 27 August 2012 - 01:45 PM

Thanks for voting down my reputation for asking a question.

#3 e‍dd   Members   -  Reputation: 2105

Like
0Likes
Like

Posted 27 August 2012 - 02:34 PM

I'm trying to include a serial library

static library?

in Visual studio 2012 and it seems to not be pointing to the correct place when I try to include these libraries.

I'm looking at VS2010 here as I don't have 2012 on my home machine, but it should be largely the same.

In the Solution Explorer window, right click on the project and go to "properties". In the window that appears, before doing anything else you probably want to make sure the "configuration" drop-down says "All configurations", unless you have different versions of the library for debug/release builds.

In the tree of configuration options, expand "Configuration properties" and its "Linker" sub-node. Click on the "General" sub-sub-node. In the form, you should now see an entry for "Additional Library Directories". Add any directories there, separated by semi-colons (I think).

Below the "General" sub-sub-node, there's "Input", which has an "Additional Dependencies" field in to which you can add the library's file name without the directory. I think it might be possible to put the full path to the library in there rather than using the "Additional Library Directories" field under the "Linker" options.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS