Skip to content
New issue

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

MSVC Error on debug mode in TUO #14

Open
Loturias opened this issue Jan 22, 2025 · 0 comments
Open

MSVC Error on debug mode in TUO #14

Loturias opened this issue Jan 22, 2025 · 0 comments

Comments

@Loturias
Copy link

Image

编译流程:克隆,使用CMakeGUI生成sln文件,使用默认配置下的Debug模式生成解决方案。
编译结束时提示Warning:LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library。在CMakeList.txt中添加set(CMAKE_EXE_LINKER_FLAGS /NODEFAULTLIB:"MSVCRT.lib")未解决问题。
Release模式下编译可正常运行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant