Simulink autogenerated code compilation - 'no supported target architecture'.
1 次查看(过去 30 天)
显示 更早的评论
I'm working with a Matlab Simulink project that generates C code I would to compile. The Simulink code generation process also generates a .mk file which is a apparently a makefile, and two .bat files , setup_msvc.bat and myroject.bat . I ran both, the latter of which runs a 'cl' compile command. That command runs into several missing libraries which I apparently solved succesfully by adding some library include dirs in the .mk file. However the compile command now errors out with 'No supported target architecture'. I tried fixing this by adding a -DTARGET_ARCH=x86_64 to the makefile but the error still occurs. Any ideas?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!