Error C2491: Function declared in header and defined in C++

后端 未结 1 587
慢半拍i
慢半拍i 2021-01-23 14:26

I have been trying to build a device adapter for a open-source software called Micro-manager to control a microscope and there are some problems that I am facing, there are thes

相关标签:
1条回答
  • 2021-01-23 15:08

    You're not supposed to repeat your MODULE_API declaration in the definition, having it as part of the declaration is good enough. Remove the use of MODULE_API from the .cpp file and the code should compile.

    0 讨论(0)
提交回复
热议问题