Hi,

I cannot figure out how to use functions from a 3rd party library for which I have the header file and the *.dll. The linker seems to have some problems which I cannot decipher. I have attached the header file and an I make ca call in my QtCode where I include the header file as follows:

Qt Code:
  1. struct iaxc_audio_device *devices;
  2. int devNumber,input,output,ring;
  3. long devCapabilities;
  4. int result = iaxc_audio_devices_get(&devices, &devNumber, &input, &output, &ring);
To copy to clipboard, switch view to plain text mode 

My make gives the following output:

Qt Code:
  1. g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows -o "release\YakaPhone.exe" release\qrc_icons.o release\main.o release\mainwindow.o release\settingsdialog.o release\moc_mainwindow.o release\moc_settingsdialog.o -L"C:\Programme\Qt\4.1.2\lib" -lmingw32 -lqtmain -L"D:/Downloads/Tools/IDEs/Eclipse
  2. /eclipse/workspace/YakaPhone/lib" -lQtGui4 -lQtCore4
  3. release\settingsdialog.o(.text+0x8e):settingsdialog.cpp: undefined reference to `iaxc_audio_devices_get'
  4. collect2: ld returned 1 exit status
  5. mingw32-make[1]: *** [release\YakaPhone.exe] Error 1
  6. mingw32-make[1]: Leaving directory `D:/Downloads/Tools/IDEs/Eclipse/eclipse/workspace/YakaPhone'
  7. mingw32-make: *** [release] Error 2
To copy to clipboard, switch view to plain text mode 

Any clue how to reconfigure my project to make this work?
Thanks for ur help.
Roland (Newbie)