[mythtv] Plugin development.
Zacarias Benta
zbenta at gmail.com
Mon Feb 8 11:53:28 UTC 2010
I've tried to use the changes on the plugin development guide that were
suggested on the wiki.
I used QT Creator as my IDE and when i tried to compile I got the following
output:
Exited with code 0.
Starting: /usr/bin/make -w
make: Entering directory `/home/zbenta/mythplugins/mythhello'
cd mythhello/ && /usr/bin/make -f Makefile
make[1]: Entering directory `/home/zbenta/mythplugins/mythhello/mythhello'
g++ -c -pipe -fomit-frame-pointer -D_REENTRANT -Wall -W -DPIC -fPIC
-D_GNU_SOURCE -DPREFIX="" -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4
-I/include -I. -o main.o main.cpp
main.cpp:8:25: error: mythcontext.h: No such file or directory
main.cpp:9:24: error: mythplugin.h: No such file or directory
main.cpp:10:27: error: mythpluginapi.h: No such file or directory
main.cpp:11:25: error: mythversion.h: No such file or directory
main.cpp:12:28: error: mythmainwindow.h: No such file or directory
In file included from main.cpp:15:
mythhello.h:6:28: error: mythscreentype.h: No such file or directory
mythhello.h:7:26: error: mythuibutton.h: No such file or directory
In file included from main.cpp:15:
mythhello.h:14: error: expected class-name before ‘{’ token
mythhello.h:18: error: expected ‘)’ before ‘*’ token
mythhello.h:20: error: ‘QKeyEvent’ has not been declared
mythhello.h:24: error: ISO C++ forbids declaration of ‘MythUIText’ with no
type
mythhello.h:24: error: expected ‘;’ before ‘*’ token
mythhello.h:25: error: ISO C++ forbids declaration of ‘MythUIText’ with no
type
mythhello.h:25: error: expected ‘;’ before ‘*’ token
mythhello.h:26: error: ISO C++ forbids declaration of ‘MythUIButton’ with no
type
mythhello.h:26: error: expected ‘;’ before ‘*’ token
mythhello.h:27: error: ISO C++ forbids declaration of ‘MythUIButton’ with no
type
mythhello.h:27: error: expected ‘;’ before ‘*’ token
main.cpp: In function ‘void setupKeys()’:
main.cpp:26: error: ‘REG_JUMP’ was not declared in this scope
main.cpp: In function ‘int mythplugin_init(const char*)’:
main.cpp:32: error: ‘gContext’ was not declared in this scope
main.cpp:34: error: ‘MYTH_BINARY_VERSION’ was not declared in this scope
main.cpp: In function ‘int RunHello()’:
main.cpp:47: error: ‘MythScreenStack’ was not declared in this scope
main.cpp:47: error: ‘mainStack’ was not declared in this scope
main.cpp:47: error: ‘GetMythMainWindow’ was not declared in this scope
main.cpp: In function ‘int mythplugin_config()’:
main.cpp:71: warning: no return statement in function returning non-void
make[1]: Leaving directory `/home/zbenta/mythplugins/mythhello/mythhello'
make: Leaving directory `/home/zbenta/mythplugins/mythhello'
make[1]: *** [main.o] Error 1
make: *** [sub-mythhello-make_default] Error 2
Exited with code 2.
Error while building project mythhello
When executing build step 'Make'
Zacarias Benta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20100208/733494c5/attachment.htm>
More information about the mythtv-dev
mailing list