[CastXML] Basic usage of castxml

greg graygemail at gmail.com
Wed Aug 10 08:53:02 EDT 2016


Thanks. castxml was lunched.
I had this error:
error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
To solve it i modify the file extension of "test.h" to "test.hpp".
Now i have no error, but ... no message and no output.

i tried:
castxml.exe --castxml-cc-msvc cl "Test.hpp" -o "c:\myoutput.xml"
but it doesn't work better.





2016-08-10 14:40 GMT+02:00 Brad King <brad.king at kitware.com>:

> On 08/10/2016 08:28 AM, greg wrote:
> > i tried this command line:
> > castxml.exe --castxml-cc-msvc cl "Test.h"
> > I have this error message:
> >
> > error: '--castxml-cc-msvc' compiler command failed:
> >
> >  'cl' '-c' '-FoNUL' 'C:\MyFolder\CastXML/share/castxml/detect_vs.cpp'
> > Le fichier sp├®cifi├® est introuvable
>
> You need to run it from an environment where the `cl` compiler tool
> can run.  Use something like "Visual Studio 2013 Command Prompt".
>
> -Brad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/castxml/attachments/20160810/6abceee5/attachment.html>


More information about the CastXML mailing list