I’m making a project using OpenCV and Lua in C++. OpenCV requires x64 and when I embedded lua it started giving me linker errors(like : Error LNK2019 unresolved external symbol lua_tostring referenced in function "blah blah"). When I switch back to x86 OpenCV starts complaining and I don’t get any errors related to the linker or lua. I really want to use both of them in one project, any solution?
Note: I’ve embedded lua in many other projects and I didn’t have any problems with linker errors , I’m pretty sure I did everything right.
Source: Windows Questions C++