From: wenij DOT bbs AT titan DOT cc DOT ntu DOT edu DOT tw (momo) Newsgroups: comp.os.msdos.djgpp Subject: Re: using tvision with djgpp Date: 04 Jan 1999 09:21:09 GMT Organization: 程式設計樂園(CSZone) Lines: 28 Message-ID: <3SLV5M$Pus@cszone.cc.ntu.edu.tw> NNTP-Posting-Host: cszone.cc.ntu.edu.tw X-Trace: gemini.ntu.edu.tw 915442741 19769 140.112.8.172 (4 Jan 1999 09:39:01 GMT) X-Complaints-To: postmaster AT news DOT ntu DOT edu DOT tw NNTP-Posting-Date: 4 Jan 1999 09:39:01 GMT X-Filename: n.djgpp/M.915441670.A To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ※ 引述《Robert Hoehne , 看板: n.djgpp》之銘言: : Jorge Ivan Meza Martinez wrote : : > Have anyone used the TVision library for DJGPP ? : Yes. : > I am having a problem with it. I hope someone could help me. : > I had tried many programs, very simples, and it compiles but at linker stage : > it always throw me some errors : : Please tell us, what TV lib you mean. Have you compiled it : yourself or got you a precompiled lib. : > tvedit1.o: In function `main': : > tvedit1.cpp:4: undefined reference to `TApplication type_info node' : > tvedit1.o: In function `TEditorApp type_info function': : > tvedit1.cpp(.text+0x75d): undefined reference to `TApplication type_info : > function' : Ad the -fno-rtti switch when you compile the sample : files. : > d:/djgpp/lib/libtv.a(FileEditor.o)(.text+0x2ac):FileEditor.cc: undefined : > reference to `istream::seekg(long)' : This error comes probably from the fact, that the libtv.a : was compiled with an other gcc version than your current : used version. : Robert I think the libtv.a used the -fno-rtti when compiled. so,maybe recompile the libtv.a Have any one use the TV with watcom C ?? -- ※ Origin: 程式設計樂園 ◆ From: extmx.itri.org.tw