Hello,

My name is Tomaz Canabrava, I'm a Opensource developer mostly interested in
contributing back to projects that I use. I recently started to use Soci -
as I need to replace another database layer in my software.

I forked a soci in github and I'm using version 4.0.3 to develop an
application that should run in all major operating systems but it seems
that the current mailine branch of soci has more modern CMake constructs
than 4.0.3

I had to hack around some issues that I found to be able to link Soci in
linux / mac, as you can see in this patch. I also want to know if patches
for 4.0.x are still accepted, if not, if it's safe to do a new release with
current mailine branch or if the team needs help to finish what's needed
for a new release.

https://github.com/tcanabrava/soci/commit/b641dfcc854580d4c2abd87a67a759905fccfe98

without this I am unable to compile and link, in source or as a submodule
in windows, mac and linux (it complains about the missing
"soci/soci-config.h")

But now on windows I'm having this issue:

error LNK2019: unresolved external symbol "struct
soci::sqlite3_backend_factory const soci::sqlite3" (?sqlite3@soci
@@3Usqlite3_backend_factory@1@B) referenced in function "public: bool
__cdecl SociWriter::createOrOpen(class std::string const &)"
(?createOrOpen@SociWriter@lvtmdb@Codethink@@QEAA_NAEBV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
[C:\Project\Build\lvtmdb.vcxproj]


And I'm linking on all targets with:
        Soci::Core
        Soci::soci_sqlite3

(that are the names I exported via cmake ALIAS)

Any help is appreciated :)

Best,
Tomaz
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to