- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a question about CMakelist for motion_angle in "radar_SDK".
I have gotten BGT60TR13C and installed "radar_SDK" from Infineon web site.
I want to generate solution file with CMake application and CMakelist.
However it cannot generate because it have the following error in the Cmakelist for motion_angle.
Error:
- CMake Error at CMakeLists.txt:1 (include):
include could not find requested file:
TargetPlatform
- CMake Error at CMakeLists.txt:4 (detect_target_platform):
Unknown CMake command "detect_target_platform".
Could you please fix the attached Cmakelist file?
Please advise.
Shoko_s
Solved! Go to Solution.
- Labels:
-
Radar Sensor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shoko_s ,
I suppose you are trying to compile the 'motion_angle' app alone. Please note that you need to compile the whole SDK from this path : C:\Infineon\Tools\Radar Development Kit\3.3.0.202209061352\assets\software\radar_sdk\radar_sdk to actually generate the applications.
Please refer this thread which has the steps on compiling the whole RDK : https://community.infineon.com/t5/Radar-sensor/The-tracking-information-of-BGT60TR13C-Fusion-GUI-Sea... .
Hope this helps !
Best regards,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shoko_s ,
I suppose you are trying to compile the 'motion_angle' app alone. Please note that you need to compile the whole SDK from this path : C:\Infineon\Tools\Radar Development Kit\3.3.0.202209061352\assets\software\radar_sdk\radar_sdk to actually generate the applications.
Please refer this thread which has the steps on compiling the whole RDK : https://community.infineon.com/t5/Radar-sensor/The-tracking-information-of-BGT60TR13C-Fusion-GUI-Sea... .
Hope this helps !
Best regards,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Deepa,
Thank you for your response.
I have tried compiling the whole RDK refer to the thread you indicated.
But some error occurred during C-Make. Please see the attached image.
I have already installed CMake 3.25.0 and Visual Studio 2022.
Please let me know how to resolve.
Regards,
Shoko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shoko_s ,
You have to navigate one more folder inside before trying to compile. Please use the path C:\Infineon\Tools\Radar Development Kit\3.3.0.202209061352\assets\software\radar_sdk\radar_sdk .
Hope this helps !
Best regards,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Deepa,
Thank you for quick reply!
I added folder "radar_sdk". I used the path C:\Infineon\Tools\Radar Development Kit\3.3.1.202211181510\assets\software\radar_sdk\radar_sdk.
But other error occurred during C-Make... Please see the image.
Please let me know how to resolve.
Regards, Shoko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shoko_s ,
You're probably getting this error as there was a CMakeCache.txt created when you tried compiling it earlier. Can you please try deleting this radar sdk folder and extract it again and try compiling with the same steps? Please do remember to use the path suggested earlier for compiling : C:\Infineon\Tools\Radar Development Kit\3.3.0.202209061352\assets\software\radar_sdk\radar_sdk .
Do let us know if you are still facing issues !
Best regards,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Deepa,
Thank you for your reply.
I have deleted and sdk folder and extract it again, and tyied cmake -G "MinGW Makefiles".
But error is back to square one...
Please let me know how to resolve.
Regards, Shoko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shoko_s ,
There seems to be issue with your MinGW. Please ensure that MinGW is installed properly and additionally, please do verify that the following has been added to your system path variables:
C:\Program Files\CMake\bin
C:\msys64\mingw64\bin
Best regards,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Deepa,
Thanks for the reply.
I have already installed Cmake and MinGW. The system path of them of my PC are as below;
Is there anything that you think might be the other cause?
Thanks, Shoko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shoko_s ,
The path is fine. Did you add these in your system variables ? Please let us know if you have already done so. If not, follow the below mentioned steps :
System properties >> Environment variables >> System Variables >> Click on Path >> New >> Add these two paths there and Click Ok
Best regards,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Deepa,
Thank you for your response.
I was able to do cmake -G "MinGW Makefiles" and mingw32-make -f Makefile by adding these paths in System Variables of Environment variables. I succeeded to make the exe files in the bin folder of SDK.
Thank you very much!
Shoko