Build Succeeded, but no .lib file gets created

前端 未结 10 1287
执笔经年
执笔经年 2021-01-31 13:37

I inherited a substantial amount of code, including a visual studio project that is supposed to (as best as I can tell) build a .lib file. Visual studio says \"... Generating C

10条回答
  •  被撕碎了的回忆
    2021-01-31 14:19

    If the Methods you want to export are in a class, you have to __declspec(dllexport) on the class. Otherwise no .lib will be created.

提交回复
热议问题