c++ - linking error for libs in VC++ -
in project exist 2 sub project.
main project shopgui other ones 'connection' , 'log' build @ first log.lib file log project add connection project , build connection.lib
then try use connection in main project(shopgui) have linking error. error said in
connection.lib(client.obj) : error lnk2019: unresolved external symbol "public: void __thiscall log::print....."
thanks herzl
libraries don't link in dependent libraries.
you'll need link shopgui both sub project libraries.
Comments
Post a Comment