Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Poco and Conan #3181

Closed
paulocoutinhox opened this issue Jan 5, 2021 · 5 comments
Closed

Problems with Poco and Conan #3181

paulocoutinhox opened this issue Jan 5, 2021 · 5 comments

Comments

@paulocoutinhox
Copy link

paulocoutinhox commented Jan 5, 2021

Hi,

When i try build ezored (ezored.github.io) i get this problems on Windows only:

...
libcryptod.lib(bn_dh.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(bn_dh.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(p12_sbag.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(p12_sbag.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(p12_add.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(p12_add.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(p12_utl.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(p12_utl.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(cms_dd.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(cms_dd.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(bio_ndef.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(bio_ndef.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(asn_mime.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(asn_mime.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(p12_attr.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(p12_attr.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(bio_asn1.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(bio_asn1.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
libcryptod.lib(bio_b64.obj) : warning LNK4099: PDB 'ossl_static.pdb' was not found with 'libcryptod.lib(bio_b64.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\ossl_static.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
zlib.lib(deflate.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(deflate.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\zlibstatic.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
zlib.lib(zutil.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(zutil.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\zlibstatic.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
zlib.lib(adler32.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(adler32.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\zlibstatic.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
zlib.lib(crc32.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(crc32.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\zlibstatic.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
zlib.lib(trees.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(trees.obj)' or at 'D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\zlibstatic.pdb'; linking object as if no debug info [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\bin\Sample.exe : fatal error LNK1169: one or more multiply defined symbols found [D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target\Sample.vcxproj]
ERROR: conanfile.py (windows_app/1.0.0): Error in build() method, line 41
	cmake.build()
	ConanException: Error 1 while executing cmake --build D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target --config Debug -- /m:2 /verbosity:minimal
COMMAND: conan build D:\a\ezored\ezored\files\targets\windows_app\conan\recipe\conanfile.py --source-folder D:\a\ezored\ezored\files\targets\windows_app\cmake --build-folder D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target --install-folder D:\a\ezored\ezored\build\windows_app\Debug\x86_64\conan
WORKING DIR: D:\a\ezored\ezored\build\windows_app\Debug\x86_64\target

Full Log:
https://github.com/ezored/ezored/runs/1648797301?check_suite_focus=true

Can you help me?

@paulocoutinhox
Copy link
Author

The same near problem happen on version 1.9.4:

PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::CertificateValidationException::CertificateValidationException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0CertificateValidationException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::CertificateValidationException::CertificateValidationException(int)" (??0CertificateValidationException@Net@Poco@@QEAA@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::InvalidCertificateException::InvalidCertificateException(class Poco::Net::InvalidCertificateException const &)" (??0InvalidCertificateException@Net@Poco@@QEAA@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::InvalidCertificateException::InvalidCertificateException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0InvalidCertificateException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::InvalidCertificateException::InvalidCertificateException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Poco::Exception const &,int)" (??0InvalidCertificateException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVException@2@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::InvalidCertificateException::InvalidCertificateException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0InvalidCertificateException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::InvalidCertificateException::InvalidCertificateException(int)" (??0InvalidCertificateException@Net@Poco@@QEAA@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::SSLConnectionUnexpectedlyClosedException(class Poco::Net::SSLConnectionUnexpectedlyClosedException const &)" (??0SSLConnectionUnexpectedlyClosedException@Net@Poco@@QEAA@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::SSLConnectionUnexpectedlyClosedException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0SSLConnectionUnexpectedlyClosedException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::SSLConnectionUnexpectedlyClosedException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Poco::Exception const &,int)" (??0SSLConnectionUnexpectedlyClosedException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVException@2@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::SSLConnectionUnexpectedlyClosedException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0SSLConnectionUnexpectedlyClosedException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::SSLConnectionUnexpectedlyClosedException(int)" (??0SSLConnectionUnexpectedlyClosedException@Net@Poco@@QEAA@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLContextException::SSLContextException(class Poco::Net::SSLContextException const &)" (??0SSLContextException@Net@Poco@@QEAA@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLContextException::SSLContextException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0SSLContextException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLContextException::SSLContextException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Poco::Exception const &,int)" (??0SSLContextException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVException@2@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLContextException::SSLContextException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0SSLContextException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLContextException::SSLContextException(int)" (??0SSLContextException@Net@Poco@@QEAA@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLException::SSLException(class Poco::Net::SSLException const &)" (??0SSLException@Net@Poco@@QEAA@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLException::SSLException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0SSLException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLException::SSLException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Poco::Exception const &,int)" (??0SSLException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVException@2@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLException::SSLException(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0SSLException@Net@Poco@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: __cdecl Poco::Net::SSLException::SSLException(int)" (??0SSLException@Net@Poco@@QEAA@H@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual __cdecl Poco::Net::CertificateValidationException::~CertificateValidationException(void)" (??1CertificateValidationException@Net@Poco@@UEAA@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual __cdecl Poco::Net::InvalidCertificateException::~InvalidCertificateException(void)" (??1InvalidCertificateException@Net@Poco@@UEAA@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::~SSLConnectionUnexpectedlyClosedException(void)" (??1SSLConnectionUnexpectedlyClosedException@Net@Poco@@UEAA@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual __cdecl Poco::Net::SSLContextException::~SSLContextException(void)" (??1SSLContextException@Net@Poco@@UEAA@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual __cdecl Poco::Net::SSLException::~SSLException(void)" (??1SSLException@Net@Poco@@UEAA@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: class Poco::Net::CertificateValidationException & __cdecl Poco::Net::CertificateValidationException::operator=(class Poco::Net::CertificateValidationException const &)" (??4CertificateValidationException@Net@Poco@@QEAAAEAV012@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: class Poco::Net::InvalidCertificateException & __cdecl Poco::Net::InvalidCertificateException::operator=(class Poco::Net::InvalidCertificateException const &)" (??4InvalidCertificateException@Net@Poco@@QEAAAEAV012@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: class Poco::Net::SSLConnectionUnexpectedlyClosedException & __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::operator=(class Poco::Net::SSLConnectionUnexpectedlyClosedException const &)" (??4SSLConnectionUnexpectedlyClosedException@Net@Poco@@QEAAAEAV012@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: class Poco::Net::SSLContextException & __cdecl Poco::Net::SSLContextException::operator=(class Poco::Net::SSLContextException const &)" (??4SSLContextException@Net@Poco@@QEAAAEAV012@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: class Poco::Net::SSLException & __cdecl Poco::Net::SSLException::operator=(class Poco::Net::SSLException const &)" (??4SSLException@Net@Poco@@QEAAAEAV012@AEBV012@@Z) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual char const * __cdecl Poco::Net::CertificateValidationException::className(void)const " (?className@CertificateValidationException@Net@Poco@@UEBAPEBDXZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual char const * __cdecl Poco::Net::InvalidCertificateException::className(void)const " (?className@InvalidCertificateException@Net@Poco@@UEBAPEBDXZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual char const * __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::className(void)const " (?className@SSLConnectionUnexpectedlyClosedException@Net@Poco@@UEBAPEBDXZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual char const * __cdecl Poco::Net::SSLContextException::className(void)const " (?className@SSLContextException@Net@Poco@@UEBAPEBDXZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual char const * __cdecl Poco::Net::SSLException::className(void)const " (?className@SSLException@Net@Poco@@UEBAPEBDXZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual class Poco::Exception * __cdecl Poco::Net::CertificateValidationException::clone(void)const " (?clone@CertificateValidationException@Net@Poco@@UEBAPEAVException@3@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual class Poco::Exception * __cdecl Poco::Net::InvalidCertificateException::clone(void)const " (?clone@InvalidCertificateException@Net@Poco@@UEBAPEAVException@3@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual class Poco::Exception * __cdecl Poco::Net::SSLConnectionUnexpectedlyClosedException::clone(void)const " (?clone@SSLConnectionUnexpectedlyClosedException@Net@Poco@@UEBAPEAVException@3@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]
PocoNetSSLWinmd.lib(SSLException.obj) : error LNK2005: "public: virtual class Poco::Exception * __cdecl Poco::Net::SSLContextException::clone(void)const " (?clone@SSLContextException@Net@Poco@@UEBAPEAVException@3@XZ) already defined in PocoNetSSLmd.lib(SSLException.obj) [D:\a\ezored\ezored\build\windows_app\Release\x86_64\target\ezored.vcxproj]

@zosrothko
Copy link
Member

On Windows, may be your can give a try to the Poco as Nuget Package. See the discussion : there

@paulocoutinhox
Copy link
Author

Hi,

The problem is that my project is based o conan. And only on Windows i get problems :(

Thanks anyway.

@zosrothko
Copy link
Member

I never use conan so I have no idea about your issue. By the way, I tried vscpkg for Poco and it fails every time...

@paulocoutinhox
Copy link
Author

Hi,

I solved the problem:

On Windows you need set the options as this:

https://github.com/ezored/ezored/blob/master/files/targets/windows_app/conan/recipe/conanfile.py#L33-L35

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants