From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4577 invoked by alias); 19 Nov 2004 23:36:43 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 4548 invoked from network); 19 Nov 2004 23:36:37 -0000 Received: from unknown (HELO ob2.cmich.edu) (141.209.20.21) by sourceware.org with SMTP; 19 Nov 2004 23:36:37 -0000 Received: from egate1.central.cmich.local ([141.209.15.85]) by ob2.cmich.edu (8.12.10/8.12.10) with ESMTP id iAJNRm0Z032264; Fri, 19 Nov 2004 18:27:49 -0500 Received: from leon.phy.cmich.edu ([141.209.165.20]) by egate1.central.cmich.local with Microsoft SMTPSVC(5.0.2195.6713); Fri, 19 Nov 2004 18:36:03 -0500 Received: from localhost (localhost [127.0.0.1]) by leon.phy.cmich.edu (Postfix) with ESMTP id 3495970012; Fri, 19 Nov 2004 18:36:01 -0500 (EST) Date: Sat, 20 Nov 2004 00:38:00 -0000 From: Eric McDonald To: Lincoln Peters Cc: Xconq list Subject: Re: SDL tutorials? In-Reply-To: <1100906308.8386.18314.camel@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 19 Nov 2004 23:36:03.0485 (UTC) FILETIME=[888E34D0:01C4CE90] X-CanItPRO-Stream: default X-Spam-Score: -0.9 () X-Bayes-Prob: 0.0001 X-Scanned-By: CanIt (www . canit . ca) X-SW-Source: 2004/txt/msg01421.txt.bz2 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