Laurent,
This is my first post here. I want to congratulate you on an incredible framework. However, there is a great reason to compile from source. If you use the precompiled libs, you have to use GCC 4.4. If you want to use some new C++ 11 features you will have to move up and/or if you just want to move up to GCC 4.7.1 you will have to recompile from source. Why? Because the ABI is not 100% compatible. I tried it without recompiling the libraries and got some fatal crashes.
I fixed the null problem by just inserting
#include <cstddef> into your .cpp file, and it worked great.
However, I am now having some more problems, but not really with your code, but in wchar.h. It says that size_t is not defined. I'm pretty sure this is a C++11 / C++98 incompatibility but if you have any insight, I would be greatly appreciative. Thanks.
-Dave Ottley