From: "Tanes Sriviroolchai" Newsgroups: comp.os.msdos.djgpp References: <39E385BB DOT D223EB9D AT go DOT ro> Subject: Re: Turbo Vision Date: Thu, 12 Oct 2000 15:37:03 +0700 Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Original-NNTP-Posting-Host: 192.127.136.173 Message-ID: <39e57871$1@rpc1284.daytonoh.ncr.com> X-Original-Trace: 12 Oct 2000 04:38:09 -0400, 192.127.136.173 NNTP-Posting-Host: ncrnews.daytonoh.ncr.com X-Trace: 12 Oct 2000 04:38:11 -0400, ncrnews.daytonoh.ncr.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 1. Copy the librhtv.a (should be in /djgpp e.g. C:\DJGPP\CONTRIB\TVISION\DJGPP) into /lib (e.g. C:\DJGPP\LIB) 2. Try to use gcc -o -lstdcxx -lrhtv Usually makefile in tv1010s.zip sets -fno-exceptions -fno-rtti so while you are compiling your c++ sources that use turbo vision's classes, you need to specify options -fno-exceptions -fno-rtti as well. Regards, Tanes Sriviroolchai "Ionut Nedelcu" wrote in message news:39E385BB DOT D223EB9D AT go DOT ro... > I have a little program with turbo vision . maybe you can help me. > after I compiled the library and all that stuff I tried to compile a > sample program. first I got a lot of errors because I was trying to > compoile it like a standard C program. after I changed that it started > asking me for all kinds of libraries. besides librhtv.a (the standard > lib for tv) it also needs a library called libstdcx.a. In my /lib dir I > > have a libstdcxx.a > At first I believed it was the same thing and I renamed the ..cxx file > to cx. > and when i tried to compile the simplest demo program rhide shows an > error like: "error: undefined reference to '__eh_pc'" > on the other hand if i only have the ...cxx file it says: "cannot open > -lstdcx (ENOENT)" > > So maybe you can tell me exactly which libraries tv applications need or > > which are the exact compilation parameters (in case this is what's going > > wrong). > > bye > > >