I can run my program when I call it from cygwin. but on visual stdio when I want to debug it, I get following exception:
Exception thrown at 0x610DDA44 (cygwin1.dll) in .exe: 0xC0000005: Access
violation writing location 0x00000000.
If there is a handler for this exception, the program may be safely continued.
I added my cygwin1.dll path to my project environment but it didn't work.
I am trying to build and run canfestival from this link : https://canfestival.org/code please help to solve this exception.
As Scheff has said, using vs and cygwin in combination is not recommended. then I tried hard to make my library file in visual stdio, and it is debuggable without cygwin now. Also many people suggested using debugger for cygwin such as GDB if making library with visual studio was not possible.
User contributions licensed under CC BY-SA 3.0