[mythtv] Plugin development.

Zacarias Benta zbenta at gmail.com
Tue Feb 23 11:09:37 UTC 2010


I don know if I have done that, can you give me a tip on how to do it?

On Mon, Feb 8, 2010 at 1:33 PM, Jonathan Martens <jonathan at snetram.nl>wrote:

> On 8-2-2010 12:53, Zacarias Benta wrote:
>
>> 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'
>>
>
> Do you link to a compiled installation of MythTV itself? IIRC that is
> required.
>
> Kind regards,
>
> Jonathan
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>



-- 
Zacarias Benta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20100223/87969806/attachment.htm>


More information about the mythtv-dev mailing list