Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 移除protobuf lite C++;从二进制dll编译的路径字符串_C++_Protobuf C - Fatal编程技术网

C++ 移除protobuf lite C++;从二进制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

这个问题和我们的问题是一样的

我正在Visual Studio 2017中使用Protobuf 3.15.8 lite。 我编译了Lite版本.LIB,编译了自己的DLL,用C++程序在C++ DLL中进行翻译。 我确实在visual studio中设置了发布设置,例如删除调试信息和其他内容,并将protobuf.lib更改为protobuf-lite.lib以及该问题的其他答案

生成的dll仍然包含以下路径(仅这四个):


我还能做什么配置来解决这个问题?是什么导致了这个问题?

你有没有尝试过/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