Closed LPGhatguy closed 9 years ago
Based on bt, which is generated by dub, it seems that symbols are not properly exported for use in a Windows DLL.
Looking at https://github.com/lubyk/bt/blob/master/src/bind/bt_BoxShape.cpp in bt, it is shown that no symbols are exported, causing bt to fail when required.
Each method should be prepended with __declspec(dllexport) on Windows.
__declspec(dllexport)
After looking into things again, the luaopen_* methods should indeed be exported using __declspec(dllexport) when on Windows.
Based on bt, which is generated by dub, it seems that symbols are not properly exported for use in a Windows DLL.
Looking at https://github.com/lubyk/bt/blob/master/src/bind/bt_BoxShape.cpp in bt, it is shown that no symbols are exported, causing bt to fail when required.
Each method should be prepended with
__declspec(dllexport)
on Windows.