Since there can be multiple things which are missing (like the complete API, or the given sensor), it might be a good idea to check if the application starts or not.
Put a simple
as the first line of your E32Main, and you will see if the application starts.
User::Panic(_L("It is running"),666);
- if it starts (so you get this panic message), the KErrNotFound happens inside the application, and you can handle it
- if it does not start (so you get the System error -1 again), some .dll is missing.