CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2013
    Location
    Planet Earth
    Posts
    1

    Questions about 3rd party library

    This question is for experiences users. I have successful installed SDL library to MSVC 2010. It run fine with the first program. When I started with a new blank project and typed in #include <SDL.h>, the complier doesn't recognized it at all. It seems to me that I need to re-link the library, directories, and dll again each time I create a new project? IS there a way that I can just install the library once and use it many times without any of the extra work like I can with <stdlib.h> or <iosteam>? That would make my programming life lot easier. I just wanted the complier to remember the new 3rd party library for life and not have to be told where to look for it every time. Thank you for your time.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Questions about 3rd party library

    In the solution explorer, right click on the VC++ project and choose properties.
    Under Configuration Properties, select VC++ Directories, add the new path to the Include Directories and Library Directories.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured