www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/28/09:57:48

Message-Id: <m0z1ADW-000S4JC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Drew Haslam <drew AT ghost DOT co DOT nz>, djgpp AT delorie DOT com
Date: Tue, 28 Jul 1998 11:04:48 +0000
MIME-Version: 1.0
Subject: Re: RTTI Linker errors with RH Turbo Vision library port
In-reply-to: <91EA9C69A7EBD011B589004005491A9802B8D7@server.ghost.co.nz>

Drew Haslam <drew AT ghost DOT co DOT nz> wrote:

> I have just downloaded DJGPP and TVISIONB.ZIP and have ported my tvision
> app.  

Wow! some server have a copy of TVISIONB.ZIP!!! Bad news Drew: That's VERY 
old stuff and this file have copyrights problems.
 
> When I try to link the Turbo Vision library however, the linker
> generates the following type of errors for a number of integral Tvision
> base classes:
> 
> unresolved reference to TApplication type_info function
> unresolved reference to TApplication type_info node
> etc.

You are using gcc 2.8.x (2.8.0 perhaps) and this library was compiled with 
2.7.
 
> Now, nm indicates that all of the required methods and classes are
> present in the library.  I would assume that the Tvision library was
> built without RTTI support and therefore has no RTTI class definitions
> in it.
> 
> My question then is either:
> 
> A.	How do I disable gcc's RTTI functionality so that it doesn't try
> to access the RTTI class definitions.
> 
> 	OR
> 
> B.	Where do I get a version of the library which does include the
> RTTI classes?

The last is the better thing. Download:

1) The RHIDE sources (http://www.tu-chemnitz.de/~sho/rho/rhide-beta.html for 
RHIDE 1.4.5).
2) Read the readme files inside the sources, they explain what tools are 
needed to compile (make, fileutils, sed, etc).
3) You don't need to download the gdb sources.
4) Download the  tv.zip TVision sources from *Borland*, the URL is in the 
RHIDE readmes or in my pages.
5) Put the tv.zip file in the directory that RHIDE states in the readmes. 
Don't uncompress it just put the file there.
6) Be sure you have unzip from the InfoZip project in your system (don't 
rename pkunzip, don't use Borland's unzip).
7) run "make tvision/include/tv.h" and cross your fingers ;-))

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019