delorie.com/archives/browse.cgi | search |
From: | boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au (Gregary J Boyles) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | PDCurses problem. |
Date: | 13 Feb 1997 23:56:45 GMT |
Organization: | Comp.Sci & Comp.Eng, La Trobe Uni, Australia |
Lines: | 17 |
Distribution: | world |
Message-ID: | <5e09nt$m3f@lion.cs.latrobe.edu.au> |
NNTP-Posting-Host: | lion.cs.latrobe.edu.au |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Using PDCurses22 under djgpp 2.1. Problem is gcc won't find the library libcurs.a despite the fact that it is in the main lib directory (and curses.h in the main include directory). It make no difference if I include the path to the library file in the -l option. gcc -otest.exe test.c -llibcurs d:/djgpp/bin\ld.exe: cannot open -llibcurs.a: No such file or directory (ENOENT) So I tried the following but it still doesn't work. This was after I invoked make with the makefile in the curses src directory and then copied the resulting library to the main lib directory. ld test.o -llibcurs.a D:\DJGPP\BIN/ld.exe: cannot open -llibcurs.a: File in wrong format What is causing these problems?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |