public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Eric McDonald <mcdonald@phy.cmich.edu>
To: Lincoln Peters <sampln@sbcglobal.net>
Cc: Xconq list <xconq7@sources.redhat.com>
Subject: Re: SDL tutorials?
Date: Sat, 20 Nov 2004 00:38:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0411191834050.17677-100000@leon.phy.cmich.edu> (raw)
In-Reply-To: <1100906308.8386.18314.camel@localhost>

On Fri, 19 Nov 2004, Lincoln Peters wrote:

> The code I've included below generates the following errors:
> 
> main.o(.text+0x6d):/home/lincoln/test/main.cpp:44: undefined reference to `SDL_SetVideoMode' 
> main.o(.text+0xa8):/home/lincoln/test/main.cpp:57: undefined reference to `SDL_Quit' 
> collect2: ld returned 1 exit status 

Did you remember to link in the SDL libraries?
  g++ main.cpp -o test -lSDL -lSDLmain
or something similar....

Eric

  reply	other threads:[~2004-11-19 23:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16  1:56 Lincoln Peters
2004-11-17  4:48 ` Eric McDonald
2004-11-19 23:36   ` Lincoln Peters
2004-11-20  0:38     ` Eric McDonald [this message]
2004-11-21 10:44       ` Lincoln Peters

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0411191834050.17677-100000@leon.phy.cmich.edu \
    --to=mcdonald@phy.cmich.edu \
    --cc=sampln@sbcglobal.net \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).