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.

Compiler/DCA1000EVM: How to

Part Number: DCA1000EVM

Tool/software: TI C/C++ Compiler

I find the files requirements to execute CLI for control DCA1000EVM  in the <DCA1000EVM CLI Software User Guide>, like the follow picture:

But I can't find the .exe files and .dll files,  like DCA1000EVM_CLI_Control.exe or RF_API.dll. Please tell me where they are.

If these file is the generation file by Visual studio, how to do ?

  • Hi,

    CLI exe and rf_api.dll are available at <Studio v2.1>\mmWaveStudio\PostProc directory.

    Source code for the same you can find <studio v2.1>\mmWaveStudio\ReferenceCode\DCA1000\SourceCode directory.

    Regards,

    Jitendra

  • Thanks for your answer. I have found DCA1000EVM CLI_Control.exe.

    But I confuse that <4.1.2 Steps to build Windows binaries> in the user guide.

    It's said that using using compiler make tools like mingw / gnuwin32 or IDE tools like Visual Studio / Qt framework builts CLI application.

    However, the step seems to be just using compiler make tools.

    Can you give me more examples for builting CLI application?

  • Hi,

    In the document, it has provided the example to build the source code using mingw32-make although provided other tool options to build the same.

    For other tools, you need to create a project file containing the source files in it. Please refer makefile to map the required tool options and source file list.

    You need to get help from the required compiler tool/IDE to build this application.

    Regards,

    Jitendra

  • Sorry, I still don't know how to build CLI instruction by using mingw32-make or makefile from your replying.

    I know that the source code can help me to build CLI instruction, generate file like DCA1000EVM_CLI_Control.exe and  DCA1000EVM_CLI_Record.exe.

    But I haven't know how to build it follow these steps in the user guide. Could you give me more explanation or example about this process?

    There are only four steps, and the importance is using make or mingw32-make.exe command. Could you explain this to me?

    Thanks.

  • Hi,

    I tried building mingw, here are the steps to do that.

    1) install mingw from this link for just search on internet.

    2) After it is installed, open command prompt and goto 'C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\ReferenceCode\DCA1000\SourceCode' path

    3) At this command prompt execute this command "C:\mingw\bin\mingw32-make.exe" (change this path to your mingw installation path).

    4) this should build the dca1000 project and DCA1000EVM_CLI_Control.exe & DCA1000EVM_CLI_Record.exe should get generated at C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\ReferenceCode\DCA1000\SourceCode\Release directory.

    Regards,

    Jitendra

  • Thanks for your replying.

    I have install mingw in my pC, the path is D:\Profession_program\mingw.

    But when I build the dca1000 project, there is error 2as follow:

    Microsoft Windows [版本 10.0.18362.418]
    (c) 2019 Microsoft Corporation。保留所有权利。

    C:\Users\11947>c:

    C:\Users\11947>cd C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\ReferenceCode\DCA1000\SourceCode

    C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\ReferenceCode\DCA1000\SourceCode>D:\Profession_program\mingw\bin\mingw32-make.exe
    g++ -std=c++11 -w -shared  -o Release\RF_API.dll -fPIC  RF_API/*.cpp Common/Validate_Utils/validate_params.cpp Common/Osal_Utils/osal_win.cpp -lws2_32
    process_begin: CreateProcess((null), g++ -std=c++11 -w -shared -o Release\RF_API.dll -fPIC RF_API/*.cpp Common/Validate_Utils/validate_params.cpp Common/Osal_Utils/osal_win.cpp -lws2_32, ...) failed.
    make (e=2): 系统找不到指定的文件。
    D:\Profession_program\mingw\bin\mingw32-make.exe: *** [Release\RF_API.dll] Error 2

    C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\ReferenceCode\DCA1000\SourceCode>


     

     

    And if I use another path of source code, there is same errer 2asfollow:

    D:\Desktop\FPGA_Release\SourceCode>D:\Profession_program\mingw\bin\mingw32-make.exe
    "Folder Release not exists"
    mkdir Release
    g++ -std=c++11 -w -shared  -o Release\RF_API.dll -fPIC  RF_API/*.cpp Common/Validate_Utils/validate_params.cpp Common/Osal_Utils/osal_win.cpp -lws2_32
    process_begin: CreateProcess((null), g++ -std=c++11 -w -shared -o Release\RF_API.dll -fPIC RF_API/*.cpp Common/Validate_Utils/validate_params.cpp Common/Osal_Utils/osal_win.cpp -lws2_32, ...) failed.
    make (e=2): 系统找不到指定的文件。
    D:\Profession_program\mingw\bin\mingw32-make.exe: *** [Release\RF_API.dll] Error 2

    So what should I do next?

  • Hi,

    I don't see any issue at my end. Make sure that you don't have any other make path in the command prompt.

    There might be some error due to MSYS + MinGW, please search over the internet for 'mingw32 process_begin: CreateProcess failed', you will find the solution.

    Regards,

    Jitendra