OpenVX-sample-impl icon indicating copy to clipboard operation
OpenVX-sample-impl copied to clipboard

fatal error C1128 while compiling nnef.cpp in debug mode in VisualStudio 2015

Open balaji-ch opened this issue 4 years ago • 0 comments

NNEF fails when compiled in debug mode but compiles in release mode. \OpenVX-sample-impl\kernels\NNEF-Tools\parser\cpp\src\nnef.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

Fix Append /bigobj to ADD_C_FLAGS_DEBUG in OpenVX-sample-impl\cmake_utils\CMake_windows_tools.cmake set (ADD_C_FLAGS_DEBUG "-D _DEBUG /RTC1 /MTd /bigobj") #/MTd /Gm and build will work fine

balaji-ch avatar Dec 08 '21 09:12 balaji-ch