Using DLLs and .OBJ files (built on one PC using visual studio) in SIMULINK model hosted by a different PC
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a few DLL and OBJ files that I am calling from my model (using S-Function Builder). My development machine is working fine as I build those DLLs and Object Files using Visual Studio 2010.
When I put my sources in CVS and some other colleague of mine tried to check the model out and rebuild it on his machine (without Visual Studio), he get errors. The message was:
Writing library for y_ing_sl_ver.mexw32
File c_src_~1\lg_com~1\y_ing.obj contains unknown section .rtc$TMZ.
.text section assumed
File c_src_~1\lg_com~1\y_ing.obj contains unknown section .rtc$IMZ.
.text section assumed
c_src_~1\lg_com~1\ymginteg.obj .rtc$TMZ: undefined reference to '__RTC_Shutdown'
c_src_~1\lg_com~1\ymginteg.obj .rtc$IMZ: undefined reference to '__RTC_InitBase'
C:\PROGRA~2\MATLAB\R2013A\BIN\MEX.PL: Error: Link of 'y_ing_sl_ver.mexw32' failed.
I suspected that redistributable VC++ 2010 would solve the problem. Apparently, when I do a `mex -setup` on my own development machine and try to build S-functions again it complains about the same thing even though I have VC++ 2010 redistributable installed. I wonder what I can do to make sure that my DLL and .OBJ files can be machine independent (but can be runnable on a Windows machine)?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Model Editing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!