lvc / abi-compliance-checker

A tool for checking backward API/ABI compatibility of a C/C++ library
https://lvc.github.io/abi-compliance-checker/
GNU Lesser General Public License v2.1
621 stars 76 forks source link

Facing problem in using ABI Compliance Checker on windows 10 #120

Open ashutoshpandey-eaton opened 1 year ago

ashutoshpandey-eaton commented 1 year ago

I want to compare 2 versions of my c++ code and for that, as stated in the document I have installed

REQUIREMENTS FOR MS WINDOWS

  1. MinGW (3.0 or newer)
  2. MS Visual C++ (dumpbin, undname, cl)
  3. Active Perl 5 (5.8 or newer)
  4. Sigcheck v1.71 or newer
  5. Info-ZIP 3.0 (zip, unzip)
  6. Ctags

and added tool locations to the PATH environment variable.

As per https://lvc.github.io/abi-compliance-checker/#Downloads I have downloaded and extracted 'abi-compliance-checker-2.3.zip'

when I am comparing two versions of a library using the command: abi-compliance-checker -lib NAME -old V1.xml -new V2.xml I am getting error : 'abi-compliance-checker' is not recognized as an internal or external command, operable program or batch file.

sudo make install prefix=PREFIX [/usr, /usr/local]

Question: If I am using windows I can't run the above-written command also as per the document The tool is ready-to-use after extracting the archive. is also not working for me, What should I do to make the abi-compliance-checker command work on windows10?

RhanTegoth commented 1 year ago

You need to call abi-compliance-checker with the extension ".pl" like: abi-compliance-checker.pl -lib NAME -old V1.xml -new V2.xml

Though I ran into an other problem if i do that: https://github.com/lvc/abi-compliance-checker/issues/121