Hi,

I am using protobuf-3.12.4 on Windows 10. Configured using 
"cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release 
-Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=OFF 
-DCMAKE_INSTALL_PREFIX=../../../../install ../.."

Compiled it on Visual studio 2019 in Release mode for x64 architecture.

Got following issue-
qtmain.lib(qtmain_win.obj):-1: error: LNK2019: unresolved external symbol 
main referenced in function WinMain

Looks like library has got it's own main.

Can you please let me know how to fix this?

Thanks,
Nitish

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/df4badde-1a29-4413-8b6e-fe59e9dd0b62o%40googlegroups.com.

Reply via email to