Thread: Issue with SDL type returns

  1. #16
    Registered User
    Join Date
    Sep 2010
    Posts
    20
    The errors read in this continuous format:

    In function X
    multiple definition of 'X'
    first defined here
    And it goes on doing that for every single function.

  2. #17
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by ahernan17 View Post
    There are no reports of these functions being declared more than once, which I find to be very odd.
    What do you mean "there are no reports of these functions being declared more than once"? You've been complaining about the reports of these functions being declared more than once this whole thread!

    Show your code.

  3. #18
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Quote Originally Posted by ahernan17 View Post
    In function X
    multiple definition of 'X
    first defined here
    "first defined here" is where the old/original definition is. That's what your new definition is conflicting with. It should give you at least a file name and line number, and possibly some extra line numbers if it's from a series of includes. Without your code and exact error messages, cut-and-pasted from your terminal, it's going to be hard for us to go any further with this. Compilation commands or make files might be helpful too.

    Help us help you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  3. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  4. Dynamic array of pointers
    By csisz3r in forum C Programming
    Replies: 8
    Last Post: 09-25-2005, 02:06 PM
  5. ftn that returns type
    By ariamundi in forum C++ Programming
    Replies: 1
    Last Post: 10-22-2001, 03:54 PM

Tags for this Thread