Simulink rtw built: Problem with calling the gcc Linker.
2 views (last 30 days)
Show older comments
Hi Guys,
i got a Problem with the Simulink Coder. In my Model is C-Code implemented as S-Function (using Legacy code tool). Simulation works fine but if i want to built the model (for use as dSpace target) i got an Error. In my oppinion the following lines out of the Diagnostic-Viewer are responsible for the Error.
C:\Programme\MinGW_TDM-GCC-64\bin/gcc -Wl,-rpath,"C:/PROGRA~1/MATLAB/R2015b/bin/win64",-L"C:/PROGRA~1/MATLAB/R2015b/bin/win64" -o ../model_v1.exe @model_v1.lnk rt_main.obj -lws2_32
gcc: error: RTGETINF.obj: No such file or directory
gcc: error: RTGETNAN.obj: No such file or directory
gmake: *** [../model_v1.exe] Error 1
Does anybody has/had the same Problem and maybe the solution for this Problem?
Regards
Christian
2 Comments
Alok Nimrani
on 6 Dec 2018
Hi Christian,
Which is the working directory where you are trying to build the model?
Regards,
Alok
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!