Both cuda/src/labeling_oliveira_2010.cu and include/labels_solver.h define class UF in the global namespace. I'm seeing a crash where cuda/src/labeling_oliveira_2010.cu's Alloc appears to call include/labels_solver.h. Renaming Alloc inside cuda/src/labeling_oliveira_2010.cu fixes it. It is probably best to rename UF inside cuda/src/labeling_oliveira_2010.cu.
Both
cuda/src/labeling_oliveira_2010.cu
andinclude/labels_solver.h
defineclass UF
in the global namespace. I'm seeing a crash wherecuda/src/labeling_oliveira_2010.cu
'sAlloc
appears to callinclude/labels_solver.h
. RenamingAlloc
insidecuda/src/labeling_oliveira_2010.cu
fixes it. It is probably best to rename UF insidecuda/src/labeling_oliveira_2010.cu
.