<html><body>
<p><font size="4">I tried to make a simple mythplugin according to the sample &quot;Building Plugins:HelloMyth&quot; on </font><b><font size="4">URL:</font></b><a href="http://www.mythtv.org/wiki/index.php/Building_Plugins:HelloMyth"><u><font size="4" color="#0000FF">http://www.mythtv.org/wiki/index.php/Building_Plugins:HelloMyth </font></u></a><font size="4"><br>
but, after type make in terminal, some following errors appeared: </font><br>
<font size="4">what's wrong with this? I think it's not the problem of these c++ source the header file, but some others, because I just download the whole folder according to the sample instructions without any modification. <br>
please help me, and give me some instructions.  Many thanks for you!<br>
<br>
[mythtv@mythtv mythhello]$ su<br>
Password:<br>
[root@mythtv mythhello]# qmake<br>
[root@mythtv mythhello]# make<br>
cd mythhello &amp;&amp; make -f Makefile<br>
make[1]: Entering directory `/mythtv_build/release-0-20-fixes/mythplugins/mythhello/mythhello' <br>
g++ -c -pipe -Wall -W -fomit-frame-pointer -pthread -D_THREAD_SAFE -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX=\&quot;/usr/\&quot; -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/local/qt- 3.3.6/mkspecs/freebsd-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/local/include -I/usr/local/qt-3.3.6/include -o main.o main.cpp<br>
In file included from main.cpp:6:<br>
mythhello.h:4:28: error: mythtv/uitypes.h: No such file or directory <br>
mythhello.h:5:34: error: mythtv/uilistbtntype.h: No such file or directory<br>
mythhello.h:6:29: error: mythtv/xmlparse.h: No such file or directory<br>
mythhello.h:7:32: error: mythtv/mythdialogs.h: No such file or directory <br>
mythhello.h:23:7: warning: no newline at end of file<br>
main.cpp:7:32: error: mythtv/mythcontext.h: No such file or directory<br>
main.cpp:8:30: error: mythtv/mythdbcon.h: No such file or directory<br>
main.cpp:9:30: error: mythtv/lcddevice.h: No such file or directory <br>
main.cpp:10:45: error: mythtv/libmythui/myththemedmenu.h: No such file or directory<br>
mythhello.h:11: error: expected class-name before '{' token<br>
mythhello.h:16: error: expected `)' before '*' token<br>
main.cpp : In function 'int mythplugin_init(const char*)':<br>
main.cpp:20: error: 'gContext' was not declared in this scope<br>
main.cpp:20: error: 'MYTH_BINARY_VERSION' was not declared in this scope<br>
main.cpp: In function 'int mythplugin_run()': <br>
main.cpp:28: error: 'gContext' was not declared in this scope<br>
main.cpp:31: error: 'class MythHello' has no member named 'exec'<br>
make[1]: *** [main.o] Error 1<br>
make[1]: Leaving directory `/mythtv_build/release-0-20-fixes/mythplugins/mythhello/mythhello' <br>
make: *** [sub-mythhello] Error 2<br>
</font></body></html>