I need to integrate pocketsphinx in my Qt project.
I've compiled sphinxbase and pocketsphinx in Visual Studio 2010 Express as described in CMUSphinx documentation. After that I've added pocketsphinx and sphinxbase folders in my qt project folder and appended these lines to the .pro file:
Qt Creator finds <pocketsphinx.h> file, but it can't compile a project with an error ":-1: error: LNK1104: can't open the file "pocketsphinx/bin/release/.obj"
The problem reproduces in every builds I've tried: VC++ 2012 (x32, x64), VC++ 2010 (x32, x64).
How it can be solved? My search in Google doesn't come to any success, but may be I've used wrong keywords.
Last edit: Kirill Medvedev 2013-04-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I need to integrate pocketsphinx in my Qt project.
I've compiled sphinxbase and pocketsphinx in Visual Studio 2010 Express as described in CMUSphinx documentation. After that I've added pocketsphinx and sphinxbase folders in my qt project folder and appended these lines to the .pro file:
INCLUDEPATH += pocketsphinx/include/ \ sphinxbase/include/
LIBS += pocketsphinx/bin/release/ \ sphinxbase/bin/release/
Qt Creator finds <pocketsphinx.h> file, but it can't compile a project with an error ":-1: error: LNK1104: can't open the file "pocketsphinx/bin/release/.obj"
The problem reproduces in every builds I've tried: VC++ 2012 (x32, x64), VC++ 2010 (x32, x64).
How it can be solved? My search in Google doesn't come to any success, but may be I've used wrong keywords.
Last edit: Kirill Medvedev 2013-04-30
It must be
You can also use a dialog in your IDE
For more information see the documentation:
http://doc.qt.digia.com/qtcreator-2.2/creator-project-qmake-libraries.html
And some answers on subject:
http://stackoverflow.com/questions/718447/adding-external-library-into-qt-creator-project
http://stackoverflow.com/questions/8727340/how-to-add-an-external-a-library-in-qt-creator-project-via-gui
Thanks, it really helped me!