On Wed, 2015-08-12 at 23:31 +0100, david bowe wrote:
> It compiled without any warnings, but when I try to run the
> executable I get a segmentation error
>     $ sh -x helloworld out.pdf
>     helloworld: helloworld: cannot execute binary file

        Hi,
the error didn't say it's a segmentation fault, it's just that it
cannot execute it. I do not know why you use the sh command here,
simple:
   ./helloworld out.pdf
is enough and works here. Of course, the helloworld executable should
have execute flag, which the g++ sets for you.
        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz



------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to