This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK winapps problem in rebuild and rate

Hi 

I want test send.exe in winapps folder on my custom board. I have 2 question one about rebuild and another a bout rate.

1) When I want rebuild, I face with this problem

2) When I run send.exe with client project on my custom board, sometimes rate is about 250Mbit/s and sometimes is about Kbit/s. Do you know why this happen?

Thanks.

  • Dear Patrick,

    2) When I run send.exe with client project on my custom board, sometimes rate is about 250Mbit/s and sometimes is about Kbit/s. Do you know why this happen?

    Able to reproduce this at every time ?
    Can you please share the screen shot of the problem ?


    1) When I want rebuild, I face with this problem

    Did you run the "vcvars32.bat" script which export the generic include path (stdio.h etc.,)?
    Modify the line as per your SYSTEM location.

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat
  • Hi Titusrathinaraj

    Sorry for delay. 

    Titusrathinaraj Stalin said:
    Did you run the "vcvars32.bat" script which export the generic include path (stdio.h etc.,)?
    Modify the line as per your SYSTEM location.

    I tested with Microsoft Visual Studio 2010 again and faced with the same problem.

    Also I defined this address in "Environment Variable" but not difference.

    Titusrathinaraj Stalin said:
    Can you please share the screen shot of the problem ?

    When I want test rate, sometimes I can get 250Mbit/s but sometimes I have low rate as this image shows.

    When I re run "send.exe" the program face with this error

  • Dear Patrick,
    Sorry for the delayed response on this.

    Can you please try to uncomment the following line and rebuild then check again ?

    var prdNdkClkParams = new Clock.Params ();
    prdNdkClkParams.period = 0x64;
    prdNdkClkParams.startFlag = true;
    Program.global.clockInst1 = Clock.create("&llTimerTick", 5, prdNdkClkParams);
  • Hi Titusrathinaraj
    Thank you for your reply and sorry because I forgot verify you. I ran "vcvars32.bat" and my problem solved.
    Thank you so much
  • That's great Patrick.
    Glad to hear that your problem is got resolved.
    Thanks for your update.