我正在处理一个项目,我试图通过使用 Github 上的这个项目(它是一个 TCL-DLL 包装器)从 TCL 模块中的 Oculus Rift 传感器读取数据:
我以前从未编译过 dll 文件,当我尝试在 Visual Studio 2013 中编译他们的项目时遇到了一些问题。这些错误出现:
C2491: 'Tclovr_Init' : definition of dllimport function not allowed
C2491: 'Tclovr_Unload' : definition of dllimport function not allowed
你知道我可能错过了什么吗?
提前致谢!
真诚的,马库斯