Error while running slic.cpp code
i get error while running the sample code provided in opencv-contrib github.
https://github.com/opencv/opencv_cont...
0xC0000005: Access violation reading location 0x00000000.
after my research i found out its def-referencing a pointer.
the exact location of error is line93 in the code stated in link above.
how can i avoid this error??
the error is certainly not in the code (it runs fine elsewhere, and for other folks)
Thanks so much for your response.
i downloaded the latest version of opencv and opencv- contrib from github.
can you recommend the version you have used for your codes.
i used instructions from this website for my building with cmake.
https://perso.uclouvain.be/allan.barrea/opencv/cmake_config.html
https://github.com/opencv/opencv_cont...
clean your build folder, and try to re-run cmake (with path to opencv_contrib/modules added)
if you get build errors, please show us.
(i've been trying with 3.4 / master yesterday, but it worked fine with all previous versions before)
okay i will do that. i will get opencv3.4 and opencv_contrib and start everything again. i would like to mention i am using windows.
obviously ;) (the error is specific to VS)