newb: using user installed lib in cygwin

A

Andrew Sasak

I am using Cygwin in windows 2000. I have a file libtclap.a at
C:\cygwin\usr\local\lib. In order to compile I have to spell out
C:\cygwin\usr\local\lib\libtclap.a. It seems like cygwin should
automatically be able to find the file, but it can't. Is there something I
should be doing to make this easier? Thanks
 
M

Mike Wahler

Andrew Sasak said:
I am using Cygwin in windows 2000. I have a file libtclap.a at
C:\cygwin\usr\local\lib. In order to compile I have to spell out
C:\cygwin\usr\local\lib\libtclap.a. It seems like cygwin should
automatically be able to find the file, but it can't. Is there something I
should be doing to make this easier? Thanks

Yes. Read The Directions. I suspect there is a configuration
option and/or command line switch to tell your compiler/linker
where to find certain things.

This is not a C++ language issue, so we can't help with it here.
Check your Cygwin documentation.

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,222
Latest member
patricajohnson51

Latest Threads

Top