<div dir="ltr"><div>Hi,<div><br></div><div>I am very new to Castxml.</div><div>If i understand, it should generate a .xml from the C++ source code with a description of class name, arguments, functions,... ?</div><div>My possible goal would be to wrap a C++ library to C#. Using the exported .xml to generate a C# wrapper generator. </div><div><br></div><div>i have a test header file like this one:</div><div>----------------------------------------</div><div><div>#ifndef Test_H</div><div>#define Test_H</div><div>class  Test</div><div>{</div><div>protected:</div><div><span class="" style="white-space:pre">   </span>int<span class="" style="white-space:pre">       </span>_variableInteger;</div><div>public:</div><div><span class="" style="white-space:pre">    </span>Test()  {_variableInteger = 51;};</div><div><span class="" style="white-space:pre"> </span>~Test() {};</div><div>};</div><div>#endif // Test_H</div></div><div>----------------------------------------</div><div><br></div><div>I tried to test it. I downloaded a binary version of Castxml here:<div><a href="https://midas3.kitware.com/midas/item/318228">https://midas3.kitware.com/midas/item/318228</a><br></div></div><div><br></div><div>Note: I have Visual Studio 2013 under Windows 7.</div><div><br></div><div>I extracted it on C:\MyFolder</div><div>i put my "test.h" file in: </div><div>C:\MyFolder\CastXML\bin<br></div><div><br></div><div>i tried this command line:</div><div>castxml.exe --castxml-cc-msvc cl "Test.h"<br></div><div>I have this error message:</div><div><br></div><div><div>error: '--castxml-cc-msvc' compiler command failed:</div><div><br></div><div> 'cl' '-c' '-FoNUL' 'C:\MyFolder\CastXML/share/castxml/detect_vs.cpp'</div><div>Le fichier sp├®cifi├® est introuvable</div></div><div><br></div><div>What do i have to do to make it work ?</div><div>Do i need to do other installation tasks before ?</div><div>Do i need to build Castxml from source ? (why?)</div><div><br></div><div><br></div><div>When i try:</div><div>castxml.exe --version<br></div><div>I have the result.:</div><div><div>castxml version 0.1-gf1bb3c2</div><div><br></div><div>CastXML project maintained and supported by Kitware (<a href="http://kitware.com">kitware.com</a>).</div><div><br></div><div>clang version 3.8.0 (tags/RELEASE_380/final)</div><div>Target: x86_64-pc-windows-msvc</div><div>Thread model: posix</div><div>InstalledDir:</div></div><div><br></div><div>Is it normal to have "InstalledDir" empty ?</div><div><br></div><div>Thanks.</div><div>Regards</div><div><br></div></div></div>