<div>Hello,</div>  <div> </div>  <div>When i try to generate template cmp and compliling with VC 2005 Prof edition I got following error. </div>  <div> </div>  <div>My template cmd:</div>  <div> </div>  <div>rtc-template -bcxx --module-name="CameraComponent"<BR> --module-desc="Camera Component"<BR> --module-version=1.0.0<BR> --module-vendor="Jan" <BR> --module-category=example <BR> --module-comp-type=DataFlowComponent<BR> --module-act-type=DataFlowComponent <BR> --module-max-inst=10<BR> --outport=ImageData:TimedOctetSeq<BR> --service-idl=CameraInfo.idl<BR> --service=CapPORT:Imageinfo:CameraInfo</div>  <div> </div>  <div>I am getting following error in VC++ 2005 Pro in <STRONG>CameraInfoSK.cc</STRONG> at 89 line which is </div>  <div> </div>  <div><BR><STRONG>const char* CameraInfo::_PD_repoId = "IDL:CameraInfo:1.0";</STRONG><BR></div>  <div> </div>  <div><FONT color=#ff4040><STRONG> error
 C2491: "CameraInfo::_PD_reportId': definition of dllimport function not allowed</STRONG></FONT></div>  <div><STRONG><FONT color=#ff4040></FONT></STRONG> </div>  <div><STRONG><FONT color=#ff4040></FONT></STRONG> </div>  <div><STRONG><FONT color=#0000ff>I think  I did everything in right way and doubt this is a bug or compiler error. Does any one has any idea?</FONT></STRONG></div>  <div><STRONG><FONT color=#ff4040> </FONT></STRONG></div><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com