[odb-users] Visual Studio 2017 - LNK1104 cannot open file
'odb-mysql-d.lib' for Hello World
boris at codesynthesis.com
Wed May 1 09:15:17 EDT 2019
Allan Head <aheadsoftwaredeveloper at gmail.com> writes:
> After following the Build2 installation instructions, I cannot seem to get
> the Hello World example to work. I opened the hello-mysql-vc12 project and
> upgraded it to vc141. The program compiles, but during the build it
> generates the error LINK: fatal error LNK1104: cannot open file
> 'odb-mysql-d.lib'. I do not have an 'odb-mysql-d.lib' file, but I do have
> an odb-mysql.lib file and an odb-mysql.dll.lib file.
Just replace odb-mysql-d.lib with odb-mysql.dll.lib in the VC project
file (and also make sure you have added its location to VC Directories
> Should the odb-example-2.4.0 work under ODB 2.5.0-b.13 or am I trying to do
> the impossible?
I think this should work. Eventually we will package ODB examples for
build2 but for now this should do.
More information about the odb-users