trying to compile the test I get the message: /usr/bin/ld: cannot find -ltermcap
can you tell me how can I solve this issue?
trying to compile the test I get the message: /usr/bin/ld: cannot find
-ltermcap
can you tell me how can I solve this issue?
install libtermcap, it is handel part of
* libtinfo-dev
or
* libncurses-dev
http://packages.ubuntu.com/search?searchon=contents&keywords=libtermcap&mode=filename&suite=precise&arch=any
Thank you. It works.
Having trouble compiling because I don’t have libsupc++, how do I get that on the beagle?
Trying to get the libpru stuff to work but it won’t compile because I don’t have libsupc++. How do I get that on beaglebone using the angstrom distro?
Do you mean libpruio?
Which OS are you using? AFAIK, libsupc++ isn’t available on Angström (but on Debian/Ubuntu).
Hello sir, I was following your steps but I got an error in the last step. I created a file in “bbb_fbc-0.0.2/FB_prussdrv-0.0/libpruio-0.0.2/libpruio/src/c_wrapper” and named it “bbb-io.c” and pasted the code you wrote. I then created another file named it “Makefile” and pasted “all: bbb-io.c Makefile
gcc -Wall -o bbb-io bbb-io.c /usr/local/lib/freebasic/fbrt0.o -lpruio -L”/usr/local/lib/freebasic/" -lfb -lpthread -lprussdrv -ltermcap -lsupc++ -Wno-unused-variable" in it. after running “make” command, I got the following:
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [all] Error 1
Any ideas how to solve it? I’m running “Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux” on my beaglebone black.I am setting the libpruio library to read from the all the 7 analog pins with a sampling rate of 40KHz at least for each pin. You’re help os appreciated. Thanks.
Hello!
I got the following:
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [all] Error 1
Install libncurses
`
sudo apt-get install libncurses5-dev
`
I am setting the libpruio library to read from the all the 7 analog pins with a sampling rate of 40KHz at least for each pin. You’re help os appreciated. Thanks.
The maximum sampling rate is 160 kHz for one step and about 22 kHz for 7 steps (TSC_ADC_SS hardware limitations for software triggered ADC start).