Preprocessor QPID_DECLARE_STATIC fixed the error. now I just want to know if qpid could be build with mingW? Thanks -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Problem-when-building-direct-Queus-example-using-codelite-gcc-complier-tp5181521p5181708.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org