I tried to compile the sample DLL with Clang but it failed mysteriously. After checked the main.h sample header, I found BUILD_DLL was not defined on the project's Build options... When the compiler is GCC, it's properly defined there. Adding BUILD_DLL back will let Clang produce a DLL as normal. Please fix this minor bug. Thanks.