- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
DAVE™
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks and regards,
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @George_T
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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