I have been having a problem in developer studio where it is not finding the function prototype in plug-in H files when building. The first time was when I upgraded my location plug-in from Version 1.0.1 to version 1.1.0, and all the GPS functions came up with the error “undefined reference to XXX” where XXX is the function name. The only way I got around it was creating a new project using the location plugin version 1.1.0 at the start, and then copying all my code across.
Now I have tried including the SMS-PDU plug-in (using Properties->Open AT Application->Plug-in, then apply, OK, clean, build), and the functions referenced in the “sms_pdu_encode.h” and “sms_pdu_decode.h” files are giving the same error (“undefined reference to XXX”). The H files are #included, and if I ctrl+click on the function name, it takes me to the prototype in the H file, but it will not compile! I created a new application using the sample, and this worked fine, so it only seems to be a problem if you add a plug-in after the application has been created.
This is very frustrating, and I’m guessing its a Developer Studio problem as it happened with 2 plug-ins. Any ideas?