简体   繁体   中英

how to set runtime library to Multithreaded (/MT) in VS2017?

I'm trying to get Google Protocol Buffers working with an Unreal-Engine-4 project in Visual Studio 2017.

It seems to be more complicated that I expected! I've seen lots of instructions to "change the projects settings on C++ -> code generation to Multi-threaded DLL (/MD)".

I can set this in CMakeList.txt when running a really simple CMake project ( and have got the addressboook example code working ) but can't find the option to do it in the VS2017 GUI when loaded from Unreal.

I can't find the "code generation" settings anywhere.

项目属性菜单截图

  • any suggestions ?

Thanks.

Right click on project -> Properties -> C/C++ -> Code Generation -> Runtime Library

截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM