Questions about 3rd party library

This is a discussion on Questions about 3rd party library within the Tech Board forums, part of the Community Boards category; This question is for experiences users. I have successful installed SDL library to both CodeBlocks and MSVC 2010. It run ...

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

    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,496
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 11:57 AM
  2. Questions about Debug and Library
    By lehe in forum C++ Programming
    Replies: 6
    Last Post: 01-30-2009, 10: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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21