This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling TVision under Cygwin fails


Vojta wrote:
Hello, I just tried to compile Turbo Vision under Cygwin:
I ran ./configure, which finished without errors I ran make and it compiled okay, until got to file
classes/wingr/wingrscr.cc, where it stoped with error that function
_get_osfhandle (line 703) was not declared. However, this function is
defined in <io.h>, but it seems to me, that it isn't linked to it when
compiling - I guess I should pass some g++ flag when configuring - but
which?
Does anybody know what to do with it (I hope it is understandable what I
have written because my English is not very good)?
I tried this with the newest packages installed and I got the same error
with several different versions of TVision.
Thank you
- Vojta

Your English is fine. Make sure you are using '/usr/include/io.h' and not '/usr/include/mingw/io.h'. The former is Cygwin. The latter is Mingw. If you want Mingw rather than Cygwin, then your question is better directed to the Mingw folks (www.mingw.org).

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]