Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Radar sensor Forum Discussions

Taylor70
Level 1
25 sign-ins First like given First like received
Level 1

I hope this is the right forum

Sorry if this is a simple question, I am new to this software. How do I build the C code provided in the C:\IFX_D2GL-HW-SW_V1.0.0\Firmware_Software\Communication Library\ComLib_C_Interface

I want to build the d2gl_basics application but I am unsure how to do this. Could anyone send some steps on how to do this?

Also another quick question, can I do this on a linux machine?

Cheers

0 Likes
1 Solution
GeorgeT
Moderator
Moderator 25 solutions authored 10 likes received 50 replies posted
Moderator

Hello @Taylor70,

Sorry for the confusion as the suggested method was for a different rdk.

As @Montassar-BR suggested please use Cmake  to build the project in D2GL_basics folder.

Please run the following commands in the command prompt, in the above folder, in the order.

cmake -G "MinGW Makefiles"

mingw32-make -f Makefile

After building the project please connect the board.  Then run d2gl_basics.exe application (in the same folder) in the command prompt itself. This will give the board output.

Please let me know if this solves the issue.

Best regards,

George

View solution in original post

4 Replies
GeorgeT
Moderator
Moderator 25 solutions authored 10 likes received 50 replies posted
Moderator

Hi @Taylor70,

Please install mingw64 and cmake. Add paths for the same in the system environment. Then follow the steps in the thread below, in which a detailed explanation is given on how to build the project.

https://community.infineon.com/t5/Radar-sensor/The-tracking-information-of-BGT60TR13C-Fusion-GUI-Sea...

Thanks and regards,

George

0 Likes
Taylor70
Level 1
25 sign-ins First like given First like received
Level 1

Hi @GeorgeT 

I am struggling to download the mingw64 files from the internet and I can't find a clear solution. could you point me to a download tutorial?

Thanks

0 Likes
Montassar-BR
Employee
100 replies posted 50 solutions authored 100 sign-ins
Employee

@Taylor70 
you can use the CMakeLists.txt, with Cmake to build the *.sln project, available under:
Communication Library\ComLib_C_Interface\examples\D2GL_basics

BR,
Montassar.

0 Likes
GeorgeT
Moderator
Moderator 25 solutions authored 10 likes received 50 replies posted
Moderator

Hello @Taylor70,

Sorry for the confusion as the suggested method was for a different rdk.

As @Montassar-BR suggested please use Cmake  to build the project in D2GL_basics folder.

Please run the following commands in the command prompt, in the above folder, in the order.

cmake -G "MinGW Makefiles"

mingw32-make -f Makefile

After building the project please connect the board.  Then run d2gl_basics.exe application (in the same folder) in the command prompt itself. This will give the board output.

Please let me know if this solves the issue.

Best regards,

George