D:\cygopt>g++ -o test.exe -ID:\cygopt\kde-root\include -IC:\Programme\Python25\i nclude -LD:\cygopt\kde-root\lib -LC:\Programme\Python25\libs -lpython25 -lboost_ python D:\cygopt\kde-root\test.cpp C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text+0x120): undefined ref erence to `_imp___ZN5boost6python6detail11init_moduleEPKcPFvvE' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZN5boost6python3defI PFPKcvEEEvS3_T_[void boost::python::def(char const*, char con st* (*)())]+0x6e): undefined reference to `_imp___ZN5boost6python6detail17scope_ setattr_docEPKcRKNS0_3api6objectES3_' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZN5boost6python6deta il17make_function_auxIPFPKcvENS0_21default_call_policiesENS_3mpl7vector1IS4_EEEE NS0_3api6objectET_RKT0_RKT1_[boost::python::api::object boost::python::detail::m ake_function_aux >(char const* (*)(), boost::python::default_call_poli cies const&, boost::mpl::vector1 const&)]+0x73): undefined referenc e to `_imp___ZN5boost6python7objects15function_objectERKNS1_11py_functionE' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZN5boost6python7obje cts21py_function_impl_baseC2Ev[boost::python::objects::py_function_impl_base::py _function_impl_base()]+0x7): undefined reference to `_imp___ZTVN5boost6python7ob jects21py_function_impl_baseE' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.rdata$_ZTVN5boost6python7o bjects23caller_py_function_implINS0_6detail6callerIPFPKcvENS0_21default_call_pol iciesENS_3mpl7vector1IS6_EEEEEE[vtable for boost::python::objects::caller_py_fun ction_impl > >]+0x18): undefined referen ce to `boost::python::objects::py_function_impl_base::max_arity() const' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZN5boost6python3api6 objectC2Ev[boost::python::api::object::object()]+0x7): undefined reference to `_ imp___Py_NoneStruct' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZN5boost6python7obje cts23caller_py_function_implINS0_6detail6callerIPFPKcvENS0_21default_call_polici esENS_3mpl7vector1IS6_EEEEED1Ev[boost::python::objects::caller_py_function_impl< boost::python::detail::caller > >::~caller_py_function_impl()]+0x16): undefined reference to `_imp___ZN5boost6python7objects21py_function_impl_baseD2E v' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZN5boost6python7obje cts23caller_py_function_implINS0_6detail6callerIPFPKcvENS0_21default_call_polici esENS_3mpl7vector1IS6_EEEEED0Ev[boost::python::objects::caller_py_function_impl< boost::python::detail::caller > >::~caller_py_function_impl()]+0x16): undefined reference to `_imp___ZN5boost6python7objects21py_function_impl_baseD2E v' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZNK5boost6python15to _python_valueIRKPKcEclES5_[boost::python::to_python_value::o perator()(char const* const&) const]+0xf): undefined reference to `_imp___ZN5boo st6python9converter19do_return_to_pythonEPKc' C:\DOKUME~1\paddy\LOKALE~1\Temp/ccMrhaaa.o:test.cpp:(.text$_ZNK5boost6python9typ e_info4nameEv[boost::python::type_info::name() const]+0x15): undefined reference to `_imp___ZN5boost6python6detail12gcc_demangleEPKc' collect2: ld returned 1 exit status D:\cygopt>