<div dir="ltr"><div>It may be the case, because pygccxml 1.7.1 finds the path to castxml or gccxml automatically. When they were both installed, pygccxml probably chose gccxml over castxml. But now the problem is <br><br>RuntimeError: Error occured while running GCCXML: ['/usr/bin/castxml', 
'-I.', 'example.h', '--castxml-gccxml', '-o', '/tmp/tmpKsaXwW.xml']<br><br></div>see the path, it points to '/usr/bin/castxml' so it doesn't seem like it is gccxml which is to be run. It doesn't make sense to me. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 3:34 PM, Steve Robbins <span dir="ltr"><<a href="mailto:steve@sumost.ca" target="_blank">steve@sumost.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>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"><div><div class="h5">On November 29, 2015 2:23:58 PM CST, "Uğur Büyükdurak" <<a href="mailto:ugurbd@gmail.com" target="_blank">ugurbd@gmail.com</a>> wrote:</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
<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><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>
</div></div></blockquote></div><br></div>
<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p></div></div><pre><hr><br>CastXML mailing list<br><a href="mailto:CastXML@public.kitware.com" target="_blank">CastXML@public.kitware.com</a><br><a href="http://public.kitware.com/mailman/listinfo/castxml" target="_blank">http://public.kitware.com/mailman/listinfo/castxml</a><span class="HOEnZb"><font color="#888888"><br></font></span></pre></blockquote></div><span class="HOEnZb"><font color="#888888"><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</font></span></div></blockquote></div><br></div>