Exceção gerada em 0x00007FFA9543567C em diImage.exe: Exceção do Microsoft C++: cv::Exception no local de memória 0x000000C373DAD130.
"diImage.exe" (Win32): Carregado "C:\Windows\System32\opencl.dll".
"diImage.exe" (Win32): Carregado "C:\Windows\System32\DXCore.dll".
"diImage.exe" (Win32): Carregado "C:\Windows\System32\AppXDeploymentClient.dll".
"diImage.exe" (Win32): Carregado "C:\Windows\System32\dxgi.dll".
"diImage.exe" (Win32): Carregado "C:\Windows\System32\ResourcePolicyClient.dll".
"diImage.exe" (Win32): Não carregado "C:\Windows\System32\ResourcePolicyClient.dll"
"diImage.exe" (Win32): Carregado "C:\Windows\System32\directxdatabasehelper.dll".
"diImage.exe" (Win32): Não carregado "C:\Windows\System32\directxdatabasehelper.dll"
"diImage.exe" (Win32): Não carregado "C:\Windows\System32\dxgi.dll"
"diImage.exe" (Win32): Carregado "C:\Windows\System32\nvopencl.dll".
"diImage.exe" (Win32): Carregado "C:\Windows\System32\nvapi64.dll".
Exceção gerada em 0x0000000000000000 em diImage.exe: 0xC0000005: violação de acesso ao executar o local 0x0000000000000
Yes, I have the working folder running under that relative path.
However, the standard C++ way of using paths is using a double “\”, but as you said, I made a mistake. I used the wrong escape sequence “//” ( You may forgive me because I work with both windows and Linux ), usually, compilers would write this warning.
>C:\Users\Administrador\Documents\GitHub\ImageProcessing\opcvwrapper.cpp(823,21): warning C4129: 'h': sequência de escape de caractere não reconhecida
Also:
cascade.load(f) returned true before, meaning that it was properly loaded, which does not happen if I use a single “/”
Edit: I had also checked the existence of the path using c++17
That exception cannot be captured. At least I cannot use a try catch to grab it. However, it does not work if I remove the code from the library and use imshow instead. There is a try catch that already does it. I have appreciated your help in this case, but it does look like something on my graphic board.
The exception is thrown internally inside CvPlot::show(title, axes). I think the code in the library simply ignores the exception so that is why I cannot capture it. Visual Studio shows us in the debug mode.