[CastXML] Beginner usage
Matic Kukovec
kukovecmatic at hotmail.com
Wed May 9 11:26:38 EDT 2018
Thanks Brad!
After fiddling with it a bit more, found that it was a Windows path issue, as I have spaces in the compiler and file path, so I added quotes around all of the arguments after the first path argument.
I was using the following command:
castxml --castxml-cc-gnu-c "C:/Path/To/Compiler/arm-none-eabi-gcc" "C:/Path/To/C/File/main.c" "--castxml-output=1" "-o out.xml"
Once I removed the quotes from the '--castxml-output' and '-o' flags, it started working.
Thanks!
________________________________
From: Brad King <brad.king at kitware.com>
Sent: Wednesday, May 9, 2018 2:58 PM
To: Matic Kukovec; castxml at public.kitware.com
Subject: Re: [CastXML] Beginner usage
On 05/09/2018 08:06 AM, Matic Kukovec wrote:
> I am giving castxml the '--castxml-output=1' and '-o myfile.xml' flags,
> but the output file is always the name of the parsed file with the '.xml'
> extension. Am I doing something wrong?
This works for me:
castxml foo.cxx --castxml-output=1 -o myout.xml
No `foo.xml` is written. `myout.xml` is written.
If you can't get it working please post your `castxml --version`
output and your complete command line.
-Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/castxml/attachments/20180509/4679e8ac/attachment-0001.html>
More information about the CastXML
mailing list