Unresolved externals in C++ when using vectors and find

前端 未结 4 1540
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-30 12:33

I have tried this code in a totally separate project, and it works fine (the only difference being that the project that is not working is being exported as a DLL). Here is

4条回答
  •  半阙折子戏
    2020-11-30 13:06

    The problem was I had _DEBUG defined in C/C++->Preprocessor. Changing it to NDEBUG solved the problem.

提交回复
热议问题