mvnForum Homepage

Print at Nov 21, 2014 9:49:05 AM View all posts in this thread on one page
Posted by thurisaz at May 12, 2011 5:35:21 AM
simple.cpp example
I installed the Darby module, and then successfully compiled the simple.cpp example using a Makefile I found at the examples directory. When I run it, it doesn't print anything at all. If the module wasn't properly installed I should be getting a segmentation fault, instead the program ends normally without printing anything to STDOUT (echo $? returns 0). If I cast it to (const char *) as the API primer suggests as an alternative, I get garbage printed instead. I'm using ubuntu 10.04, and I compiled the project from source. Any help would be greatly appreciated.

regards,
Jonathan

Posted by thurisaz at May 13, 2011 2:06:42 PM
Re: simple.cpp example
It was a unix permissions issue. Everything works great now!