You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to build an app on Windows using the qtprotobuf libs/includes provided in the 0.6.0 release.
I'm building using qmake and msvc2019.
I can't get past the following linker error (uart_messages originates from my proto) uart_messages.qpb.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::list<class std::function<void __cdecl(void)>,class std::allocator<class std::function<void __cdecl(void)> > > & __cdecl QtProtobuf::registerFunctions(void)" (__imp_?registerFunctions@QtProtobuf@@YAAEAV?$list@V?$function@$$A6AXXZ@std@@V?$allocator@V?$function@$$A6AXXZ@std@@@2@@std@@XZ) not resolved in function "void __cdecl dynamic initializer for 'ProtoTypeRegistrarCommand''(void)" (??__EProtoTypeRegistrarCommand@@yaxxz)`
in the .pro file I have the following INCLUDEPATH += $$PWD/modules/qtprotobuf-0.6.0/include/QtProtobufProtobuf LIBS += -L$$PWD/modules/qtprotobuf-0.6.0/lib -lQt5Protobuf -lQt5ProtobufQtTypes -lQt5ProtobufWellKnownTypes
what am I missing? is this error maybe cause by some sort of name mangling?
hope someone can help
cheers
stef
The text was updated successfully, but these errors were encountered:
Need to check, CI check is poor and doesn't have the external usage check. So there might be issues in the library it self. I will try to check once have powers.
Hi,
I'm trying to build an app on Windows using the qtprotobuf libs/includes provided in the 0.6.0 release.
I'm building using qmake and msvc2019.
I can't get past the following linker error (uart_messages originates from my proto)
uart_messages.qpb.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::list<class std::function<void __cdecl(void)>,class std::allocator<class std::function<void __cdecl(void)> > > & __cdecl QtProtobuf::registerFunctions(void)" (__imp_?registerFunctions@QtProtobuf@@YAAEAV?$list@V?$function@$$A6AXXZ@std@@V?$allocator@V?$function@$$A6AXXZ@std@@@2@@std@@XZ) not resolved in function "void __cdecl
dynamic initializer for 'ProtoTypeRegistrarCommand''(void)" (??__EProtoTypeRegistrarCommand@@yaxxz)`in the .pro file I have the following
INCLUDEPATH += $$PWD/modules/qtprotobuf-0.6.0/include/QtProtobufProtobuf
LIBS += -L$$PWD/modules/qtprotobuf-0.6.0/lib -lQt5Protobuf -lQt5ProtobufQtTypes -lQt5ProtobufWellKnownTypes
what am I missing? is this error maybe cause by some sort of name mangling?
hope someone can help
cheers
stef
The text was updated successfully, but these errors were encountered: