Boost logo

Boost Users :

Subject: [Boost-users] boost interprocess linking problems under windows
From: Jonathon Love (jon_at_[hidden])
Date: 2013-04-24 10:14:56


hi,

i'm having difficulty compiling my program which uses
boost::interprocess under windows. it compiles successfully under OS X.

./debug\enginesync.o: In function
`ZN5boost12interprocess6winapi16co_uninitializerD1Ev':
C:/progra~1/boost/boost_1_53_0/boost/interprocess/detail/win32_api.hpp:1651:
undefined reference to `_imp__CoUninitialize_at_0'
./debug\enginesync.o: In function
`ZN5boost12interprocess6winapi23get_wmi_class_attributeERSbIwSt11char_traitsIwESaIwEEPKwS8_':
C:/progra~1/boost/boost_1_53_0/boost/interprocess/detail/win32_api.hpp:1673:
undefined reference to `_imp__CoInitializeEx_at_8'
Makefile.Debug:148: recipe for target '..\JASPDesktop.exe' failed
C:/progra~1/boost/boost_1_53_0/boost/interprocess/detail/win32_api.hpp:1690:
undefined reference to `_imp__CoInitializeSecurity_at_36'
C:/progra~1/boost/boost_1_53_0/boost/interprocess/detail/win32_api.hpp:1700:
undefined reference to `_imp__CoCreateInstance_at_20'
C:/progra~1/boost/boost_1_53_0/boost/interprocess/detail/win32_api.hpp:1731:
undefined reference to `_imp__CoSetProxyBlanket_at_32'
C:/progra~1/boost/boost_1_53_0/boost/interprocess/detail/win32_api.hpp:1774:
undefined reference to `_imp__VariantClear_at_4'
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [..\JASPDesktop.exe] Error 1

i'm using mingw32 gcc 4.7, boost 1.53, under windows xp 32 bit.

any assistance would be appreciated.

with thanks


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net