Has anyone succeeded in compiling one of the example Cxx programs, such as FlashLoader? Mine fails at the linking stage:
g++ -L../../lib/lnx -o flashloader flashloader.o -lokFrontPanel -ldl
../../lib/lnx/libokFrontPanel.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
../../lib/lnx/libokFrontPanel.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
collect2: ld returned 1 exit status
make: *** [flashloader] Error 1
This happens on both a "B" and "B+" Pi. Running Wheezy, 3.12.22+ #691 armv6l (on the "B+" right now). I didn't do anything other than copying Makefile.lnx to Makefile and typing "make". Thanks!