<div dir="ltr"><div>I am also getting following error when I try to use castxml through pygccxml<br><br>RuntimeError: Error occured while running GCCXML: ['/usr/bin/castxml', '-I.', 'example.h', '--castxml-gccxml', '-o', '/tmp/tmpKsaXwW.xml']<br><br></div><div>Any ideas?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 6:17 AM, Uğur Büyükdurak <span dir="ltr"><<a href="mailto:ugurbd@gmail.com" target="_blank">ugurbd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hello everybody,<br><br></div>I am finally able to install castxml on my machine. But when I try to use it, I am getting errors that doesn't make sense to me at all. Kind of errors I wasn't having with gccxml actually. <br><br></div>For example when I try to run a simple header file on castxml I am getting the following error,<br><br>error: '--castxml-gccxml' does not work with c11, although I use no C++11 syntax whatsoever.<br></div><div>Without --cast-gccxml option, I am having errors that have no meaning at all. For example<br><br>./deneme.h:3:1: error: unknown type name 'using'<br>using std::cout;<br>^<br>./deneme.h:3:10: error: expected ';' after top level declarator<br>using std::cout;<br>         ^<br>         ;<br>./deneme.h:3:11: error: expected identifier or '('<br>using std::cout;<br>          ^<br>./deneme.h:4:1: error: unknown type name 'using'<br>using std::endl;<br>^<br>./deneme.h:4:10: error: expected ';' after top level declarator<br>using std::endl;<br><br></div><div>There is nothing wrong with the source file syntax.<br><br></div><div>One more thing is when castxml comes across an #include statement it simply gives an error like this<br><br>#include <iostream><br>         ^<br>1 error generated.<br><br></div>Which is something I had never had problem with gccxml. <br><br></div>Am I missing something?<br></div>I installed castxml from Ubuntu repository with .deb that is compatible with Ubuntu 15.10<br></div>I have clang 3.7.0 installed on my machine. Both are 64 bit. <br><br></div>this is the output from castxml --version<br><br>castxml version 0.1-g8a08a44<br><br>CastXML project maintained and supported by Kitware (<a href="http://kitware.com" target="_blank">kitware.com</a>).<br><br>Ubuntu clang version 3.6.2-+rc1-1~exp1ubuntu2 (tags/RELEASE_362/rc1) (based on LLVM 3.6.2)<br>Target: x86_64-pc-linux-gnu<br>Thread model: posix<br><br></div>Regards,<br><div><div><br></div></div></div>
</blockquote></div><br></div>