I have a problem with linking a program, the strange thing about that is that functions that linker can’t resolve, sit in the same file near the functions that are resolved without a problem.
I can’t post files themselves in the message as they are pretty large, though ===> here <=== is the project ready to be built.
Here are build errors:
error LNK2019: unresolved external symbol _leveldb_filterpolicy_destroy referenced in function _main
error LNK2019: unresolved external symbol _leveldb_options_set_filter_policy referenced in function _main
error LNK2019: unresolved external symbol _leveldb_filterpolicy_create_bloom referenced in function _main
error LNK2019: unresolved external symbol _leveldb_filterpolicy_create referenced in function _main
error LNK2019: unresolved external symbol _leveldb_filterpolicy_create referenced in function _main
Here is the full-size screenshot showing error messages

Here is the implementation of the function that cant be found:

Here is the implementation of the function that sits in the same file and is easily found by the linker:

I’ve found-out what was causing the problem, I’ve updated the version of leveldb to a newer one. The newer version introduced several new functions (the ones that are being unresolved). But I haven’t updated the .def file which contains all exports, and functions weren’t exported as a result…