[Qt-interest] collect2: ld returned 1 exit status

arun kumar arunkumaraymuo at gmail.com
Fri Sep 2 09:15:53 CEST 2011


Hi

 I Installed the SoundTouch(C++ library for sound processing) & BPM
libraries to */usr/local/lib * and I included
#include <soundtouch/SoundTouch.h>
as header file and declared like this

  soundtouch::SoundTouch m_objSoundTouch; in my header file

when I run my application Igot one error like this

Build Issue
 collect2: ld returned 1 exit status
error: collect2: ld returned 1 exit status

Compile output

Undefined symbols:

"soundtouch::SoundTouch::SoundTouch()", referenced from:

InputTest::InputTest()in audioinput.o

InputTest::InputTest()in audioinput.o

"soundtouch::SoundTouch::~SoundTouch()", referenced from:

InputTest::~InputTest()in audioinput.o

InputTest::~InputTest()in audioinput.o

InputTest::~InputTest()in audioinput.o

InputTest::~InputTest()in audioinput.o

InputTest::~InputTest()in audioinput.o

InputTest::~InputTest()in audioinput.o

InputTest::InputTest()in audioinput.o

InputTest::InputTest()in audioinput.o

ld: symbol(s) not found

collect2: ld returned 1 exit status

make: *** [audioinput.app/Contents/MacOS/audioinput] Error 1

make: Leaving directory `/Users/User/Desktop/Test2/audioinput-build-desktop'

The process "/usr/bin/make" exited with code 2.

Error while building project audioinput (target: Desktop)

When executing build step 'Make'


Thanks in advance,
Arun Kumar KS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110902/fff318fd/attachment-0001.html 


More information about the Qt-interest-old mailing list