It turns out that #include<unistd.h> is not required. I was using the usleep function earlier. Regardless the end result is the same. No go. Everything would indicate that although it compiles and builds it fails to come through on the link. Back to reading.
root@beaglebone:~/exploringBB/chp09/LCDcharacter# ls LCDApp LCDApp.cpp build build_static root@beaglebone:~/exploringBB/chp09/LCDcharacter# sudo sh -c "echo BB-SPIDEV1 > $SLOTS" root@beaglebone:~/exploringBB/chp09/LCDcharacter# cat $SLOTS|grep SPI 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,BB-SPIDEV1 root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./build root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./LCDApp ./LCDApp: error while loading shared libraries: libEBBLibrary.so: cannot open shared object file: No such file or directory root@beaglebone:~/exploringBB/chp09/LCDcharacter# > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
