Display App Compile Issue

i go the Error when compile the App in VS2017

 

array< Byte^ >^ RcvImgData = gcnew array< Byte^ >(0x12D000);

 

Severity Code Description Project File Line Suppression State
Error (active) E0442 too few arguments for class template "std::array" DisplayApp d:\GR-LYCHEE boards\jcudemo_2\JcuDemo\JcuDemo\DisplayAppForm.h 59
Error (active) E0079 expected a type specifier DisplayApp d:\GR-LYCHEE boards\jcudemo_2\JcuDemo\JcuDemo\DisplayAppForm.h 59
Error (active) E0442 too few arguments for class template "std::array" DisplayApp d:\GR-LYCHEE boards\jcudemo_2\JcuDemo\JcuDemo\DisplayAppForm.h 59

  • I'm sorry, but I'm not sure of that. And unfortunately the person who compled DisplayApp have changed his PC. So we are not sure the version.
  • Try by commenting line in DisplayAppForm.h ,

    using namespace std;

    This line create confusion as  which array should be called..


    and you may also need Windows SDK to build this solution for Windows 10 (Windows 7 will work fine without anything).