If I just compile, I hit things like this:
10>..\..\examples\SharedMemory\b3PluginManager.cpp(117): error C2664: 'HMODULE LoadLibraryW(LPCWSTR)': cannot convert argument 1 from 'const char *' to 'LPCWSTR'
This is:
Code: Select all
B3_DYNLIB_HANDLE pluginHandle = B3_DYNLIB_OPEN(pluginPath);
Code: Select all
#define B3_DYNLIB_OPEN LoadLibrary
Code: Select all
#ifdef UNICODE
#define LoadLibrary LoadLibraryW
#else
#define LoadLibrary LoadLibraryA
#endif // !UNICODE
If I change B3_DYNLIB_OPEN to explicitly use LoadLibraryA, I then hit:
Code: Select all
#warning "Unknown platform for PLATSUBDIR"
I can get around this by just deleting the App_PhysicsServer_SharedMemory_VR project from the solution.
With these hacks the demo/test app runs so it's all fine (not interested in the missing project) - I'm just surprised I can't see anybody else mentioning this! Is there something weird about my setup? Apart from it being Windows of course