Message-ID: <38BE99DD.63AF9EA6@tpg.com.au> Date: Fri, 03 Mar 2000 02:42:06 +1000 From: Jason Hood X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: C++ Undefined References Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: 203.37.242.42 Lines: 13 NNTP-Posting-Host: 203.12.160.33 X-Trace: 2 Mar 2000 10:33:12 -0600, 203.12.160.33 Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups. X-Report: Report abuse to abuse AT newsfeeds DOT com X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body X-Abuse-Info2: Otherwise we will be unable to process your complaint properly To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com A couple of years ago, I used TWS (ie. v2tk/mttws121.zip) to create a Minesweeper clone. Recently I wanted to add a screenshot function. After a couple of minor errors/warnings, it compiled fine, but I'm getting "undefined references" at the linking stage. The errors look like this: board.o: In function `BoardWindow type_info function': board.cc(.text+0xa3b): undefined reference to `Window type_info function' board.cc(.text+0xa43): undefined reference to `Window type_info node' where BoardWindow is inheriting from the Window class. Is there something I'm missing, or does the TWS library need recompiling? Jason Hood. -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==---------- http://www.newsfeeds.com The Largest Usenet Servers in the World! ------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----