All,
I'm starting a new thread to focus on the threading issues with BBB.
I keep getting the same results as Cornel and others, pure virtual method calls.
I decided to test the most basic C++11 threading program:
-----------------------------------------
#include <iostream>
#include <thread>
using namespace std;
int main(int argc, char** argv)
{
cout << "hello world" << endl;
thread t([](){ cout << "hello from thread!" << endl; });
t.join();
return 0;
}
-----------------------------------------
On Unbuntu 13 w/ G++ 4.7.3:
> g++ --std=c++11 Test.cpp -lpthread
> ./a.out
hello world
hello from thread!
>
On BeagleBone black:
root@beaglebone:~/test# ./a.out
hello world
pure virtual method called
terminate called without an active exception
Aborted
root@beaglebone:~/test#
So, we have to solve this basic issue before we can proceed. Time to start hitting the BBB mailing lists!
-Adam