diff --git a/include/dynamic-graph/signal-caster.h b/include/dynamic-graph/signal-caster.h
index 1f65c7355290193d8e68eee8af0de34033132115..4ee41e5af8bad14c1b0adb350a6ee6da6cfd4703 100644
--- a/include/dynamic-graph/signal-caster.h
+++ b/include/dynamic-graph/signal-caster.h
@@ -16,6 +16,8 @@
 #include <boost/tuple/tuple.hpp>
 #include <iostream>
 
+#include <dynamic-graph/dynamic-graph-api.h>
+
 namespace dynamicgraph {
 
 /*! This class allows serialization of a number of objects into (disp) and from
@@ -26,7 +28,7 @@ namespace dynamicgraph {
  * complex than a typical template-based compile-time resolve. So disp, cast and
  * trace are costly functions and should be used as such.
  */
-class SignalCaster {
+class DYNAMICGRAPH_EXPORT SignalCaster {
 public:
 	SignalCaster();
 	virtual ~SignalCaster();