|
|
2010-06-19
, 08:52
|
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#2
|
|
|
2010-06-19
, 08:54
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
) "`pkg-config --cflags mce QtCore QtDBus` `pkg-config --libs mce QtCore QtDBus`" worked for me.
|
|
2010-06-19
, 08:57
|
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#4
|
As always when having trouble compiling and wanting to get help: include the actual compiler output together with how the compiler was started.
To not show what flags were sent to the compiler is to ask us to read your mind or magically know what you've added to the configuration files.
Missing .h files are either just that, missing, by you not spelling things correctly or they're missing as in not in the path you've supplied for the compiler to look in.
And yes, I know it gets frustrating after a while to get stopped by errors like these but, please, try to include the information needed to actually help you.
|
|
2010-06-19
, 09:27
|
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#5
|
MADDE-0.6.72 /eitam eitama $ cd horizontal-call/ MADDE-0.6.72 /eitam/horizontal-call eitama $ mad qmake MADDE-0.6.72 /eitam/horizontal-call eitama $ mad make c:/NokiaQtSDK/Maemo/4.6.2/targets/fremantle-pr12/bin/uic src/horizontalcall.ui - o build/ui_horizontalcall.h g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTU RE_GLYPH_CACHE_WIDTH=1024 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../sysroot s/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/default -I. -I.. /../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtCore -I../../ sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtDBus -I../../sysr oots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui -I../../sysroots/ fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -IC:/NokiaQtSDK/Maemo/4.6.2/ sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtContacts -I/usr/i nclude -Ibuild -Ibuild -o build/qtmain.o src/qtmain.cpp src/qtmain.cpp:15:2: warning: no newline at end of file g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTU RE_GLYPH_CACHE_WIDTH=1024 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../sysroot s/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/default -I. -I.. /../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtCore -I../../ sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtDBus -I../../sysr oots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui -I../../sysroots/ fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -IC:/NokiaQtSDK/Maemo/4.6.2/ sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtContacts -I/usr/i nclude -Ibuild -Ibuild -o build/horizontalcall.o src/horizontalcall.cpp src/horizontalcall.cpp: In member function 'void horizontalcall::clearButtonClic ked()': src/horizontalcall.cpp:82: warning: NULL used in arithmetic src/horizontalcall.cpp: In member function 'void horizontalcall::lineEditTextCha nged(QString)': src/horizontalcall.cpp:99: warning: NULL used in arithmetic src/horizontalcall.cpp: In member function 'void horizontalcall::showContactDeta ils(int)': src/horizontalcall.cpp:215: warning: NULL used in arithmetic src/horizontalcall.cpp:236: warning: unused variable 'tempManager' C:/NokiaQtSDK/Maemo/4.6.2/targets/fremantle-pr12/bin/moc -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHA RED -I../../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspe cs/default -I. -I../../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/incl ude/QtCore -I../../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/ QtDBus -I../../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGu i -I../../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -IC:/Noki aQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/ QtContacts -I/usr/include -Ibuild -Ibuild src/horizontalcall.h -o build/moc_hori zontalcall.cpp g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTU RE_GLYPH_CACHE_WIDTH=1024 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../sysroot s/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/default -I. -I.. /../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtCore -I../../ sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtDBus -I../../sysr oots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui -I../../sysroots/ fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -IC:/NokiaQtSDK/Maemo/4.6.2/ sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtContacts -I/usr/i nclude -Ibuild -Ibuild -o build/moc_horizontalcall.o build/moc_horizontalcall.cp p g++ -Wl,-rpath-link,/usr/lib -Wl,-rpath,C:/usr/lib -Wl,-rpath,C:/usr/lib -o buil d/horizontal-call build/qtmain.o build/horizontalcall.o build/moc_horizontalcall .o -LC:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-sl im/usr/lib -L/usr/lib -lQtContacts -lQtGui -lQtDBus -L/usr/X11R6/lib -lQtCore -l pthread MADDE-0.6.72 /eitam/horizontal-call eitama $ mad dpkg-buildpackage which: pgp: unknown command dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package horizontal-call dpkg-buildpackage: source version 0.1 dpkg-buildpackage: source changed by unknown <eitama@unknown> dpkg-buildpackage: host architecture armel debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /bin/make clean make[1]: Entering directory `/eitam/horizontal-call' rm -f build/moc_horizontalcall.cpp rm -f build/ui_horizontalcall.h rm -f build/horizontal-call rm -f build/qtmain.o build/horizontalcall.o build/moc_horizontalcall.o rm -f *~ core *.core make[1]: Leaving directory `/eitam/horizontal-call' dh_clean dpkg-source -b horizontal-call C:\NokiaQtSDK\Maemo\4.6.2\madbin\dpkg-source: info: using source format `1.0' C:\NokiaQtSDK\Maemo\4.6.2\madbin\dpkg-source: warning: source directory 'horizon tal-call' is not <sourcepackage>-<upstreamversion> 'horizontal-call-0.1' C:\NokiaQtSDK\Maemo\4.6.2\madbin\dpkg-source: info: building horizontal-call in horizontal-call_0.1.tar.gz C:\NokiaQtSDK\Maemo\4.6.2\madbin\dpkg-source: info: building horizontal-call in horizontal-call_0.1.dsc debian/rules build dh_testdir # Add here commands to configure the package. qmake touch configure-stamp dh_testdir # Add here commands to compile the package. /bin/make make[1]: Entering directory `/eitam/horizontal-call' c:/NokiaQtSDK/Maemo/4.6.2/targets/fremantle-pr12/bin/uic src/horizontalcall.ui - o build/ui_horizontalcall.h g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTU RE_GLYPH_CACHE_WIDTH=1024 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../sysroot s/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/default -I. -I.. /../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtCore -I../../ sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui -I../../sysro ots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -IC:/NokiaQtSDK/Maemo/4. 6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtContacts -I/u sr/include -Ibuild -Ibuild -o build/qtmain.o src/qtmain.cpp In file included from src/qtmain.cpp:2: src/horizontalcall.h:14:24: error: QDBusMessage: No such file or directory src/horizontalcall.h:15:27: error: QDBusConnection: No such file or directory src/qtmain.cpp:15:2: warning: no newline at end of file make[1]: *** [build/qtmain.o] Error 1 make[1]: Leaving directory `/eitam/horizontal-call' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 MADDE-0.6.72 /eitam/horizontal-call eitama $
|
|
2010-06-19
, 09:30
|
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#6
|
Funny that, I just managed to build my first QtDbus application (I still vastly prefer DBus-GLib but I digress.). I'm not using qmake, but the pkg-config equiv. (yes, there's no taking teh GLib out of me) "`pkg-config --cflags mce QtCore QtDBus` `pkg-config --libs mce QtCore QtDBus`" worked for me.
|
|
2010-06-19
, 09:33
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#7
|
|
|
2010-06-19
, 09:35
|
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#8
|
| The Following User Says Thank You to eitama For This Useful Post: | ||
|
|
2010-06-19
, 09:50
|
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#9
|
|
|
2010-06-19
, 09:53
|
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#10
|
Edit : Solved - http://talk.maemo.org/showpost.php?p...2&postcount=12
I am nearly frustrated at the moment, I am trying to compile my application with MADDE, everything works perfect in QtCreator, including running it on the phone remotely.
I am trying to follow several guides on how to compile with madde, and I am always getting the same error.
- I tried putting the full pathes to those header files, and that error indeed went away, but the last one with the rules file kept coming, and I got no deb file.
Can anyone tell me what I should be writing in the
Build-Depends and Depends in the control file?
I am using libqtm-contacts, and dbus.
Edit: for anyone that wants to help me, I'll easy start team-viewer, cause I really want this to be over. I want to focus on the application, and not on building.
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
Last edited by eitama; 2010-06-19 at 10:18. Reason: Solved