build the program that generated by MBD toolbox in the S32DS,show errors as follow,how to resolve it???thks
constantinrazvan.chivukhumphriMandardhavalRHinnenjimtrudeau
已解决! 转到解答。
Hi 642142357@qq.com,
The S32 Design Studio ProjectInfo.xml importer doesn't recognize the -lm flag from the linker options and thus doesn't add the C standard math library to the imported S32 Design Studio project.
To fix those build errors you have to add the math library by yourself by following the next steps:
1. Right click on your S32 Design Studio project and open the project's Properties.
2. Go to C/C++ Build > Settings > Standard S32DS C Linker > Libraries.
3. Press the Add button pointed by the yellow arrow to add the standard C math library, called m. Press the OK button at the end to save your changes.
4, Build the project.
Regards,
Paul
Hi 642142357@qq.com,
The S32 Design Studio ProjectInfo.xml importer doesn't recognize the -lm flag from the linker options and thus doesn't add the C standard math library to the imported S32 Design Studio project.
To fix those build errors you have to add the math library by yourself by following the next steps:
1. Right click on your S32 Design Studio project and open the project's Properties.
2. Go to C/C++ Build > Settings > Standard S32DS C Linker > Libraries.
3. Press the Add button pointed by the yellow arrow to add the standard C math library, called m. Press the OK button at the end to save your changes.
4, Build the project.
Regards,
Paul