<html><head></head><body>I wrote that wrapper so send bug reports my way.  There should be nothing wrong with installing both packages.<br>
<br>
It looks to me like you were invoking gccxml.  If you want to use castxml then be sure to invoke castxml.<br><br><div class="gmail_quote">On November 29, 2015 2:23:58 PM CST, "Uğur Büyükdurak" <ugurbd@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div>Just to let you know, I had installed gccxml from Ubuntu repository after installing castxml. It wasn't normal gccxml but something more like wrapper gccxml around castxml. I have deleted it and castxml seems to work fine now. <br /><br /></div>Do you know what's wrong with installing gccxml and castxml on the same machine? I am using Ubuntu 15.10<br /></div><div class="gmail_extra"><br /><div class="gmail_quote">On Sun, Nov 29, 2015 at 6:28 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>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="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br /></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />CastXML mailing list<br />CastXML@public.kitware.com<br /><a href="http://public.kitware.com/mailman/listinfo/castxml">http://public.kitware.com/mailman/listinfo/castxml</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>