error: C2131: 식이 상수로 계산되지 않았습니다.
해당 에러는 리눅스 컴파일러를 윈도우로 바꾸는 과정에서 만났는데요,
리눅스에서는 간단하게 표현한 배열을 윈도우 환경에서는 동적배열을 이용하는 것으로 바꿔주어야 합니다
#ifdef __GNUC__
unsigned char cell[a][b];
double averageArray[a];
#endif
#ifdef _WIN32
std::vector<std::vector<unsigned char>> cell(a, std::vector<unsigned char>(b));
std::vector<double> averageArray(a);
#endif
언제 또 리눅스로 돌아갈 지 모르니 if문으로 묶어줍니다..
elif 써도 되겠지만 복붙을 사랑하는 저는 ifdef 통일합니다ㅋㅋ