×
Namespaces

Variants
Actions
Revision as of 09:21, 23 January 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Talk:How to turn your camera flash into a torch on Harmattan using GStreamer

From Nokia Developer Wiki
Jump to: navigation, search

Contents

Zimonir - Fail to run Torch project

I am new in QML world. I can not run the Torch project. There are some errors. What need i do?

Running build steps for project torch... Starting: "c:\qtsdk\desktop\qt\4.7.4\mingw\bin\qmake.exe" D:\QTapp\torch\torch.pro -r -spec win32-g++ 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. The process "c:\qtsdk\desktop\qt\4.7.4\mingw\bin\qmake.exe" exited normally. Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe" C:/QtSDK/mingw/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory `D:/QTapp/torch-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug' g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtDeclarative" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\torch\qmlapplicationviewer" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"debug" -I"..\torch" -I"." -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o debug\main.o ..\torch\main.cpp In file included from ..\torch\main.cpp:3: ..\torch\/torch.h:5:28: error: gst/gstelement.h: No such file or directory In file included from ..\torch\main.cpp:3: ..\torch\/torch.h:26: error: ISO C++ forbids declaration of 'GstElement' with no type ..\torch\/torch.h:26: error: expected ';' before '*' token mingw32-make[1]: Leaving directory `D:/QTapp/torch-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug' mingw32-make[1]: *** [debug/main.o] Error 1 mingw32-make: *** [debug] Error 2 The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2. Error while building project torch (target: Desktop)

When executing build step 'Make'

zimonir 08:08, 19 December 2011 (EET)

Gnuton - pkg-config missing.

It looks pkg-config is missing, Please check your Qt SDK installation.

gnuton 21:25, 11 January 2012 (EET)

Zimonir -

Thank you gnuton.

zimonir 17:26, 13 January 2012 (EET)

FlyingSheep - Runs in SDK Mode, Does not run "native" on N9

Hi Gnuton

Thanks for this example.

I am developing for my Nokia N9 (Harmattan) using QT 4.7.4 and OSX as the development host.

This example works great on my N9 when connected in SDX mode to my MacBookAir. This also deploys the application to my N9.

However if I try and start this app direct on my N9, it fails to start.

My guess is that this app should be deploying GST (or elements thereof) but is not doing so.

Any ideas?

Chris

FlyingSheep 21:05, 17 January 2013 (EET)

Hamishwillee - Raise on N9 Forum?

Hi Chris

The article was written over a year ago and gnuton may or may not still be in the community. You might want to send a private message (hover over his name in the articlemetadata) or perhaps add a post in the N9 Forum and cross link to here.

Regards

Hamish

hamishwillee 08:21, 23 January 2013 (EET)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×