V3DLib
V3DLib copied to clipboard
Conflicting Complex class with Cimg library
Hello,
I have been using V3DLib for some research to make my program run fasted on Rpi4, I am so grateful for your work in this, but field. It has been running fine until now, but when I included CImg.h library to load image data to my code, I am getting a bunch of errors like these:
Lib/Source/Complex.h:8:7: error: expected identifier before numeric constant 8 | class Complex; | ^~~~~~~ Lib/Source/Complex.h:8:7: error: expected unqualified-id before numeric constant Lib/Source/Complex.h:18:15: error: expected unqualified-id before numeric constant 18 | ComplexExpr(Complex const &rhs); | ^~~~~~~
V3DLib also has its own Complex class in source and I think it is conflicting with cimg library.
Is there any work around for this?