Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 框架中的 auto [alpha, beta, gamma] 未定义标识符 This topic has 2 replies, 2 voices, and was last updated 2 years, 3 months ago by Loong. Viewing 1 reply thread Author Posts 2022年7月14日 at 下午4:03 #12010 Score: 0 zzjParticipant auto [alpha, beta, gamma] = computeBarycentric2D(x, y, t.v); alpha, beta, gamma 未定义标识符。 2022年7月30日 at 下午7:10 #12104 Score: 0 LoongParticipant Karma: 1 pt 要用C++17,CMakeLists.txt里面加set(CMAKE_CXX_STANDARD 17) 2022年7月30日 at 下午7:50 #12105 Score: 0 LoongParticipant Karma: 1 pt 如果是vscode的错误提示,需要修改.vscode/settings.json { “C_Cpp.default.cppStandard”: “c++17” } Author Posts Viewing 1 reply thread You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In