Click here to Skip to main content
15,891,942 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Is it possible to use gcov in Windows.. It is said that it can be done using cygwin.. But can't get it to work.. If anybody has used it..pls help

What I have tried:

Tried using cygwin. But cant get it work..
Posted
Updated 20-May-18 4:55am

1 solution

 
Share this answer
 
Comments
Member 12999871 20-May-18 11:55am    
Hi
I used "How to install LCOV on Windows (in MSYS2)[^]"
to install Lcov.
I proceed the steps and I got to "Build and install the package".
I copied the content of PKGBUILD in this url PKGBUILD - aur.git - AUR Package Repositories[^] and paste it into a file and named it as "PKGBUILD". then I put this file into lcov directroy.
when I used makepkg csi in MSYS2, it gave me this :
==> ERROR: PKGBUILD contains CRLF characters and cannot be sourced.
==> ERROR: An unknown error has occurred. Exiting...


what should I do to fix it?
Mehdi Gholam 20-May-18 22:51pm    
Try using a different editor (it's complaining about the line endings).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900