C++ 移除protobuf lite C++;从二进制dll编译的路径字符串
这个问题和我们的问题是一样的 我正在Visual Studio 2017中使用Protobuf 3.15.8 lite。 我编译了Lite版本.LIB,编译了自己的DLL,用C++程序在C++ DLL中进行翻译。 我确实在visual studio中设置了发布设置,例如删除调试信息和其他内容,并将protobuf.lib更改为protobuf-lite.lib以及该问题的其他答案 生成的dll仍然包含以下路径(仅这四个):C++ 移除protobuf lite C++;从二进制dll编译的路径字符串,c++,protobuf-c,C++,Protobuf C,这个问题和我们的问题是一样的 我正在Visual Studio 2017中使用Protobuf 3.15.8 lite。 我编译了Lite版本.LIB,编译了自己的DLL,用C++程序在C++ DLL中进行翻译。 我确实在visual studio中设置了发布设置,例如删除调试信息和其他内容,并将protobuf.lib更改为protobuf-lite.lib以及该问题的其他答案 生成的dll仍然包含以下路径(仅这四个): 我还能做什么配置来解决这个问题?是什么导致了这个问题?你有没有尝试过/P
我还能做什么配置来解决这个问题?是什么导致了这个问题?你有没有尝试过/PDBALTPATH和/PDBSTRIPPED选项?我试过了,没有用。
D:\{mypath}\protobuf-3.15.8\src\google\protobuf\message_lite.cc
D:\{mypath}\protobuf-3.15.8\src\google\protobuf\wire_format_lite.cc
D:\{mypath}\protobuf-3.15.8\src\google\protobuf\arena.cc
D:\{mypath}\protobuf-3.15.8\src\google\protobuf\parse_context.h