我正常在debug模式下是这样的

但是切换到release模式(下图操作后)

再点调试按钮就报了以下错误


界面边上的文件框也变成了这样

是debug切换release需要有什么其他操作吗
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我正常在debug模式下是这样的

但是切换到release模式(下图操作后)

再点调试按钮就报了以下错误


界面边上的文件框也变成了这样

是debug切换release需要有什么其他操作吗
这种现象很常见

注意你在工程属性中配置的,都有个前提模式,当你在debug下配置的切换到release后,2处就变了
像你这种好多都报错,一般是include 或lib每配置好
所以你需要根据debug下的工程属性配置,在release下再核对一下
直至你切换到release模式,点击小锤子,在release模式下重新编译没有错误为止