We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With a fresh clone, I get this error:
image-completer-lib/api/LfnIcImage.h:97:51: error: expected primary-expression before ‘;’ token
That line is:
static const int NUM_CHANNELS = PIXEL_DIMENSION;
The problem is that PIXEL_DIMENSION is not set if USE_ITK=OFF
I suggest moving this line:
set(PIXEL_DIMENSION 3 CACHE STRING "Dimensionality of pixels?") #cmake doesn't have an "INT" variable type, so treat it as a string
outside of the if(USE_ITK) conditional, with a comment like:
The text was updated successfully, but these errors were encountered:
The interesting thing is PIXEL_DIMENSION is defined (otherwise LfnIcImage.h would use a fallback), but it's defined to an empty string...
Sorry, something went wrong.
No branches or pull requests
With a fresh clone, I get this error:
image-completer-lib/api/LfnIcImage.h:97:51: error: expected primary-expression before ‘;’ token
That line is:
static const int NUM_CHANNELS = PIXEL_DIMENSION;
The problem is that PIXEL_DIMENSION is not set if USE_ITK=OFF
I suggest moving this line:
set(PIXEL_DIMENSION 3 CACHE STRING "Dimensionality of pixels?") #cmake doesn't have an "INT" variable type, so treat it as a string
outside of the if(USE_ITK) conditional, with a comment like:
ITK can support ND pixels, but even with Wx, this needs to be set to 3
The text was updated successfully, but these errors were encountered: