PIL Block build error
Mostra commenti meno recenti
Hi, when building a PIL Model Block i get the following error:
undefined first referenced symbol in file
--------- ----------------
_pilInit ./derived/PIL_Try2_main.obj
_pilProfilingTimerFreeze ./derived/PIL_Try2.obj
_pilProfilingTimerUnFreeze ./derived/PIL_Try2.obj
_pilRun ./derived/PIL_Try2_main.obj
_profileEnd_Atomic_Subsystem ../../../../../../NEWFOL~1/SOFTWA~1/SIMULI~1/PS_MAS~1/Speed/PIL_TR~1/../slprj/IDELIN~1/ATOMIC~1/CustomMW/ATOMIC~1.LIB<Atomic_Subsystem.obj> _profileEnd_PIL_Try2 ./derived/PIL_Try2.obj
_profileStart_Atomic_Subsystem ../../../../../../NEWFOL~1/SOFTWA~1/SIMULI~1/PS_MAS~1/Speed/PIL_TR~1/../slprj/IDELIN~1/ATOMIC~1/CustomMW/ATOMIC~1.LIB<Atomic_Subsystem.obj> _profileStart_PIL_Try2 ./derived/PIL_Try2.obj
error: unresolved symbols remain error: errors encountered during linking; "./CustomMW/PIL_Try2.out" not built
Can you help me resolve this? Regards, Werner
3 Commenti
Kaustubha Govind
il 23 Mag 2012
What target are you building for? What is the System Target File (.tlc) that you've selected?
Werner
il 24 Mag 2012
Werner
il 24 Mag 2012
Risposte (1)
Kaustubha Govind
il 24 Mag 2012
0 voti
The documentation section Example — Performing a Model Block PIL Simulation via SCI Using Makefiles seems to suggest that CCSv4 can also be used for PIL profiling. I don't have too much experience in the Embedded Targets area, so I won't answer will complete authority, but I think for now, you should just try and get past the compiler error.
AFAIK, the Target Preferences block must only be present at the root-level of the model, and not inside subsystems. Could you try that and see if the error goes away?
9 Commenti
Werner
il 25 Mag 2012
Werner
il 25 Mag 2012
Werner
il 25 Mag 2012
Kaustubha Govind
il 25 Mag 2012
Ah. So I guess you were right about needing Target Pref blocks inside atomic subsystems too. :)
If possible, could try running the demo model described in the documentation link from my answer? That will tell us if the issue is with your installation, or your model.
Werner
il 25 Mag 2012
Kaustubha Govind
il 29 Mag 2012
Good luck! Sorry, I haven't done this before, so any advice I can give will be limited to what I read in the documentation. :)
Werner
il 30 Mag 2012
Kaustubha Govind
il 31 Mag 2012
Not sure, but maybe your CCS installation was not done completely/correctly. I think checkEnvSetup checks the Windows Registry to find the key corresponding to CCS, not perhaps that was not populated correctly. Try running the CCS installation "as administrator" and try again? If that doesn't work, try calling MathWorks Tech Support.
Werner
il 15 Giu 2012
Categorie
Scopri di più su Texas Instruments C2000 Processors in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!