|
From: <sp...@po...> - 2004-07-17 23:34:46
|
Axel Buschh=FCter wrote: >Hi, >I installed the directx package and tried to compile the first direct pl= ay >tutorial from the MS-DirectX8 sdk (sdk not installed, because DX-devpack= is >installed). >At the linker section I includet "libdplayx.a" and "libdxguid.a". >In the sourcecode I includet "dplay8.h" (for testing I includet "dplay.h= ", >too). >But if I try to compile the code I get these error messages: > >=20 >[Linker error] undefined reference to `CoInitializeEx@8' >[Linker error] undefined reference to `CoCreateInstance@20' >[Linker error] undefined reference to `CoUninitialize@0'=20 >[Linker error] undefined reference to `CoCreateInstance@20' >[Build Error] [out/DPlay.exe] Error 1 > > =20 > try linking with -lole32 Marek |