Open xakod opened 2 years ago
Hi there, I was reviewing old issues and I have come across this one.
I've tested this locally in conan v2
and this is still an issue nowadays, see traces below:
$ conan create recipes/nanodbc/all --version 2.13.0 --build=missing -o '&:unicode=True'
It's worth mentioning that installing this package will actually compile:
$ conan install --requires nanodbc/2.13.0 --build=missing -o '&:unicode=True'
/cc @zillemarco @madebr could you take a look into this problem? It seems that this problem have never been addressed and conan CI has never tried this option out because it was defaulted to False.
Thank you in advance!
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
[options] nanodbc:unicode=True
main.cpp.obj : error LNK2001: unresolved external symbol "public: cdecl nanodbc::connection::connection(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,long)" (??0connection@nanodbc@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@J@Z)
main.cpp.obj : error LNK2001: unresolved external symbol "class nanodbc::result cdecl nanodbc::execute(class nanodbc::connection &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,long,long)" (?execute@nanodbc@@YA?AVresult@1@AEAVconnection@1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@JJ@Z)