i have already followed instruction in
this page in making helloworld.c...
i've tried to compile but i have an error...
this is the helloworld.c :
1 #include "plugin.h"
2
3 PLUGIN_HEADER
4
5 static const struct plugin_api *rb;
6
7 rb->function();
8 enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
9 {
10 (void)parameter;
11 rb = api;
12 rb->splash(HZ*2, "Hello world!");
13
14 return PLUGIN_OK;
15 }
the error are:
helloworld.c:7: error: syntax error before '->' token
make[2]: *** [/rockbox/build_helloworld/apps/plugins/helloworld.o] Error 1
rm /rockbox/build_helloworld/apps/plugins/credits.elf
make[1]: *** [rocks] Error 2
can anyone help me for this problem??