Thread: Questions about 3rd party library

  1. #1
    Registered User Nekoninja's Avatar
    Join Date
    Jun 2013

    Questions about 3rd party library

    This question is for experiences users. I have successful installed SDL library to both CodeBlocks and 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
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    In codeblocks, you should already be able to do "New project" and select the "SDL Project" and create a new project already pre-configured to use SDL.

    For visual studio, perhaps this -> Visual Studio Templates
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. regular expression library questions
    By sandrews in forum C Programming
    Replies: 0
    Last Post: 01-25-2012, 12:57 PM
  2. Questions about Debug and Library
    By lehe in forum C++ Programming
    Replies: 6
    Last Post: 01-30-2009, 11:13 AM
  3. Dynamic Linking Library questions
    By Blackroot in forum C++ Programming
    Replies: 4
    Last Post: 10-11-2007, 03:04 AM
  4. Graphics library questions
    By linkofazeroth in forum Game Programming
    Replies: 10
    Last Post: 09-10-2005, 09:42 PM
  5. Where's the party?
    By volk in forum Party Board
    Replies: 4
    Last Post: 07-14-2003, 07:06 AM

Tags for this Thread