On Tue, Jul 3, 2012 at 5:08 PM, Andrew Wood <andrew@xxxxxxxxxxxxxxxxxxxxx> wrote: > It says to link against the screensaver prefs app but I cant get that to > work. Looking through the filesystem on Haiku I see there is a screensaver > library so Ive tried linking against that but Im still getting linker errors > about there being no main() function. That's because add-ons and/or libraries aren't supposed to have one. However, you have to tell the compiler that you're building such a thing as opposed to a normal executable. This is done with -nostart on gcc2 and -shared on gcc4. Regards, Rene