PICOCOM2 to picocom4 build problem

      PICOCOM2 to picocom4 build problem

      Dear,

      i try to build a previous picocom2 project (build under picocom2 v110 sdk) to picocom4 project (picocom4 v120 sdk) but i have several errors

      Source Code

      1. 1>Compiling...
      2. 1>stdafx.cpp
      3. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(439) : error C2065: 'SHMENUBARINFO' : undeclared identifier
      4. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(439) : error C2059: syntax error : ')'
      5. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(442) : error C2061: syntax error : identifier 'SHACTIVATEINFO'
      6. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(443) : error C2061: syntax error : identifier 'SHACTIVATEINFO'
      7. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(444) : error C2065: 'PSHINITDLGINFO' : undeclared identifier
      8. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(444) : error C2165: 'left-side modifier' : cannot modify pointers to data
      9. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(444) : error C2513: 'BOOL *' : no variable declared before '='
      10. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(445) : error C2065: 'SHRGINFO' : undeclared identifier
      11. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(445) : error C2059: syntax error : ')'
      12. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(466) : error C2146: syntax error : missing ';' before identifier 'm_pfnSHCreateMenuBar'
      13. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(466) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      14. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(466) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      15. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(472) : error C2146: syntax error : missing ';' before identifier 'm_pfnSHRecognizeGesture'
      16. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(472) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      17. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(472) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      18. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(488) : error C2065: 'pmb' : undeclared identifier
      19. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(489) : error C2448: 'SHCreateMenuBar' : function-style initializer appears to be a function definition
      20. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(512) : error C2061: syntax error : identifier 'SHACTIVATEINFO'
      21. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(517) : error C2065: 'pSHActivateInfo' : undeclared identifier
      22. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(517) : error C2065: 'dwFlags' : undeclared identifier
      23. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(520) : error C2061: syntax error : identifier 'SHACTIVATEINFO'
      24. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(528) : error C2146: syntax error : missing ')' before identifier 'pSHInitDlgInfo'
      25. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(528) : error C2433: 'SHInitDialog' : 'inline' not permitted on data declarations
      26. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(528) : error C2059: syntax error : ')'
      27. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(529) : error C2143: syntax error : missing ';' before '{'
      28. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(529) : error C2447: '{' : missing function header (old-style formal list?)
      29. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(536) : error C2065: 'pSHRgInfo' : undeclared identifier
      30. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxstat_.h(537) : error C2448: 'SHRecognizeGesture' : function-style initializer appears to be a function definition
      31. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3244) : error C2146: syntax error : missing ';' before identifier 'm_SHActivateInfo'
      32. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3244) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      33. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3244) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      34. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3952) : error C2146: syntax error : missing ';' before identifier 'm_SHActivateInfo'
      35. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3952) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      36. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3952) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      37. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3953) : error C2146: syntax error : missing ';' before identifier 'm_SHActivateInfoSaved'
      38. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3953) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      39. 1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxwin.h(3953) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int


      I compile with picocom2 sdk v110 without errors but with picocom4...

      Have you any idea of the reason? i have to change link in visual studio

      An other stange thing is if i try to compile the same project under picocom2 v120 sdk i have others errors:

      Source Code

      1. Linking...
      2. 1>uafxcw.lib(cmdtarg.obj) : error LNK2001: unresolved external symbol IID_IDispatch
      3. 1>uafxcw.lib(olevar.obj) : error LNK2019: unresolved external symbol IID_IDispatch referenced in function "public: virtual struct ATL::CStringData * __cdecl ATL::CFixedStringMgr::Allocate(int,int)" (?Allocate@CFixedStringMgr@ATL@@UAAPAUCStringData@2@HH@Z)
      4. 1>uafxcw.lib(olevar.obj) : error LNK2001: unresolved external symbol IID_IPersistStreamInit
      5. 1>uafxcw.lib(olevar.obj) : error LNK2001: unresolved external symbol IID_IPersistStream
      6. 1>atls.lib(atlbase.obj) : error LNK2001: unresolved external symbol IID_IPersistStream
      7. 1>uafxcw.lib(olevar.obj) : error LNK2001: unresolved external symbol IID_IUnknown
      8. 1>uafxcw.lib(arcstrm.obj) : error LNK2001: unresolved external symbol IID_IUnknown
      9. 1>uafxcw.lib(filecore.obj) : error LNK2001: unresolved external symbol IID_IClassFactory
      10. 1>uafxcw.lib(arcstrm.obj) : error LNK2001: unresolved external symbol IID_IStream


      If anyone can help me ;(
      Hello,

      were did you get V120 SDK from?
      It is an bug in the our notifiction?

      Please try to deinstall it and to install picocom4_core_sdk_v110.msi. As far as i know this works well.
      F&S Elektronik Systeme GmbH
      As this is an international forum, please try to post in English.
      Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.
      Hello,

      sorry it's a mistake:

      - First i use picocom2 core sdk v110 => no error and the application work swell
      - Then i use picocom2 core sdk v120 => error of linking uafxcw.lib as i show in the post above
      - Then i use picocom4 core sdk V110 => error of compiling as described above

      I try to uninstall and reinstall each sdk or just install only one by one but with the same results
      I don't know what to do now
      Hello,

      did you try to install picocom4 core sdk V100?
      Maybe standalone installtion of picocom4 core sdk V110 is insufficient (buggy)?
      F&S Elektronik Systeme GmbH
      As this is an international forum, please try to post in English.
      Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.