PIL Block build error
古いコメントを表示
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 件のコメント
Kaustubha Govind
2012 年 5 月 23 日
What target are you building for? What is the System Target File (.tlc) that you've selected?
Werner
2012 年 5 月 24 日
Werner
2012 年 5 月 24 日
回答 (1 件)
Kaustubha Govind
2012 年 5 月 24 日
0 投票
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 件のコメント
Werner
2012 年 5 月 25 日
Werner
2012 年 5 月 25 日
Werner
2012 年 5 月 25 日
Kaustubha Govind
2012 年 5 月 25 日
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
2012 年 5 月 25 日
Kaustubha Govind
2012 年 5 月 29 日
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
2012 年 5 月 30 日
Kaustubha Govind
2012 年 5 月 31 日
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
2012 年 6 月 15 日
カテゴリ
ヘルプ センター および File Exchange で Texas Instruments C2000 Processors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!