program .exe run on cygwin but give exception on debugging and running on visual studio

0

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.

c++
visual-studio
dll
cygwin
asked on Stack Overflow Feb 12, 2018 by samini

1 Answer

0

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.

answered on Stack Overflow Jul 23, 2018 by samini

User contributions licensed under CC BY-SA 3.0