library problems

V

Vilvox

Hello,

I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?

thanks,

Vincent
 
M

Mike Wahler

Vilvox said:
Hello,

I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?

This is not a question about the C++ language, so
not topical here. But here's a guess:
/usr//bin/ld: cannot find -lncurves

curves != curses. curves != libncurses. Check your
spellings.

If you still have trouble, check support resources
or newsgroups about ncurses. ncurses is not part
of standard C++.

AFAIK, "Curves" is a women's health club franchise. :)

-Mike
 
V

Victor Bazarov

Vilvox said:
I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?

Could it have something to do with the fact that one of them is named
libncures.so and you use -lncur[v]es? You know, every letter of
the name is important...
 
V

Vilvox

Victor Bazarov said:
Vilvox said:
I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?

Could it have something to do with the fact that one of them is named
libncures.so and you use -lncur[v]es? You know, every letter of
the name is important...


Where can i find such libraries, please ?
 
V

Victor Bazarov

Vilvox said:
Victor Bazarov said:
Vilvox said:
I try to compile a program using lncurves.
Here is the error message i got :
$ g++ ed.cpp -lncurves -o ed
/usr//bin/ld: cannot find -lncurves
collect2: ld returned 1 exit status

However, i checked i have /usr/lib/libncurses.so
How to solve it ?

Could it have something to do with the fact that one of them is named
libncures.so and you use -lncur[v]es? You know, every letter of
the name is important...


Where can i find such libraries, please ?


www.google.com please.
 

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

No members online now.

Forum statistics

Threads
474,183
Messages
2,570,967
Members
47,520
Latest member
KrisMacono

Latest Threads

Top