0

I'm trying to use LevelDB with C++, so I put all the headers from the include directory in my project like this:

file listing

I use this code, but the compiler returns 3 LNK2019 errors:

linker errors

So I tried to add the .lib file in the link editor, but I'm still getting the error:

editor

EDIT : Also tried this

MH Discord
  • 53
  • 1
  • 10
  • 1
    Possible duplicate of [What is an undefined reference/unresolved external symbol error and how do I fix it?](https://stackoverflow.com/questions/12573816/what-is-an-undefined-reference-unresolved-external-symbol-error-and-how-do-i-fix) – Ken White Oct 12 '19 at 22:40
  • Please post text (errors and code) as text, not images or links. Look carefully at error LNK1120: Library type x64 conflicts with target(?) type x86. Configure your project accordingly and see if that might help. – nanofarad Oct 12 '19 at 22:42
  • Configured to x64, the LNK4272 is solved, but not the LNK2019 – MH Discord Oct 12 '19 at 22:48
  • I don't know how, but the problem is solved – MH Discord Oct 13 '19 at 11:07

0 Answers0