1

I need to install the real time proccess library "rtaudio-4.1.1" on windows in order to use it in C++ projet.

I'd try to compile the library project given by MIT website with QTCreator. I opened the qt project RTaudio and click on compile and the output is:

In function `newDrvStruct` (in asiolist.o):
undefined reference to `_imp__CLSIDFromString@8' in asiolist.cpp

In function `ZN14AsioDriverListC2Ev` (in asiolist.o):
undefined reference to `_imp__CoInitialize@4' in asiolist.cpp

Some research on the subject leads me to accuse the linker configuration but I didn't know very well what's the problem and how to solve it. :'(

So, i'm calling you to give me some hope !

Thanks by advance ! =)

  • Where did you download that Qt project? Do you mean project of the library or a project that uses that library? – Orest Hera Nov 04 '15 at 18:30
  • The QT project is given with library files and seems to be made to compile the library. – Bastien Cagna Nov 07 '15 at 10:54
  • I mean URL that was used to download the project and details about build steps. If I download `rtaudio-4.1.1` package there is no any Qt project file. There are CMake files that can be opened in Qt Creator. – Orest Hera Nov 07 '15 at 11:39
  • I have download at https://www.music.mcgill.ca/~gary/rtaudio/. I understood that there is a project in the folder named "RTaudio/" present in the folder "rtaudio-4.1.1/". There is a .pro and a QT project file. Am I wrong ? – Bastien Cagna Nov 08 '15 at 13:49
  • That is strange because I cannot find any `.pro` file in http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-4.1.1.tar.gz – Orest Hera Nov 08 '15 at 14:16

1 Answers1

0

The "ole32.dll" lib is missing. Try to add this to your .pro file:

LIBS += -lole32 -lwinmm -luuid -lksuser

Sylvain V
  • 194
  • 1
  • 7