lvc / api-sanity-checker

An automatic generator of basic unit tests for a C/C++ library
https://lvc.github.io/api-sanity-checker/
GNU Lesser General Public License v2.1
85 stars 13 forks source link

How to setup and use api-sanity-checker on Windows 10? #33

Open shreyas-m791 opened 4 years ago

shreyas-m791 commented 4 years ago

Hello,

Could you please provide the complete instructions to setup and use api-sanity-checker on Windows 10 using MinGW or any other tool? I am trying to use this tool to test some C/C++ projects developed on Windows 10 with Visual Studio 2019.

Regards, Shreyas M

bsdhw commented 4 years ago
  1. Add ABI Compliance Checker (1.99.24 or newer) to PATH
  2. Add MinGW to PATH
  3. Install MS Visual C++ (make sure dumpbin, undname, cl are in PATH)
  4. Install Active Perl 5
  5. Add Ctags (5.8 or newer) to PATH
  6. Run vcvars64.bat (from ~ C:\Microsoft Visual Studio X.Y.Z\VC\bin)