On Mandriva Linux I created a shared object (.so) lib with following code;
#include <sstream>
extern "C" int test(const char* c)
{
std::stringstream s(c);
int i;
s >> i;
return i;
}
No when I try to call test from LabVIEW using a 'Call Library Function Node', I get an error (see attached error_message.jpg) trying to configure it.
I get the same error when I open the vi (see attached test_vi.jpg).
When I build the same code into a dll under Windows the same test_vi runs perfectly.
In other occasions where we used (string)streams more embedded in the library we were able to
start up the vi but problems occurred when running it.
It seems that using 'Call Library Function Node' with libraries with C++ streams in it, is not possible with Linux LabVIEW.
Any thoughts?