I tried running gtest on S32 Design Studio with S32DS application project with processor "CPU_S32K144HFT0VLLT" but when I add "lgtest_main" it is throwing an error "libgtest_main.a file format is not recognised".
Please provide solution on this or suggest any other to run gtest on S32DS.
Thanks for the solution but I tried same but still its not working.
Can yo please suggest any solution to run gtest in S32Ds.3.5 for c code.
Thanks & Regards,
Rajshri
Hi @Rajshri,
Is DS displaying the same error?
Hi @Julián_AragónM,
Yes, It is displaying same error.
Can you please provide me steps to integrate gtest with S32DS for C Code ?
Thanks & Regards,
Rajshri
Hi @Rajshri,
This seems to be an importing problem.
I would recommend to instead create an application project from this community post: HOWTO: S32 Design Studio - Create a New Application Project, and add your content to this base project, adding the static library from the previous example I shared and trying to compile it.
Custom implementation should come from customer's side, as it is out of this community's scope of help. I apologize for any inconveniences this may cause.
Best regards,
Julián
Hi @Rajshri,
It seems this is a problem linked with the static library (.a extension). Here is a community post explaining how to add a static library:
Please, try to perform the suggested procedure from above. If you are not able to get the project working let us know to provide further support.
Best regards,
Julián.