오류가 생겨서 여쭤봅니다 undefined reference to 'variable'

저번주 금요일까지는 오류가 없었는데 오늘 컴파일하니 생긴 버그입니다만 잘 모르겠어서 올려봅니다

금요일에는 비주를 만졌었습니다
페이지에서 텍스트, shape을 불러와 변수를 지정해줬습니다
I didn’t have the error until Friday last week, but when I compiled it today, it’s a bug, but I’m not sure, so I’m posting it.
last Friday, I touched the visu.
I loaded text and shape from the page and assigned variables to them.

KakaoTalk_20240219_133959775

Hi Lim! I guess this error number of this message is the 9255.

Check the information on online help: B&R Online Help - Error number: 9255

So according to the error suggestion for correction, please check if there is a Visual Component version set for the configuration.

If this doesn’t solve the error. I suggest to try with a rebuild of the project. And if still is no resolved, try to clean the project configuration from Project > Clean Configuration: select all categories and compile again.

2 Likes

Thank you for reply, But sadly the version of visu is set
I also tried a clean configuration

Try to localize to which library belong the function blocks ‘nZoneIndex’ and ‘mHmiTempZone’. Be sure you have it added in software configuration. If not, add it.

Also try to delete it from Logical View and add it again. This could solve the problem.

Do you mean go to hardware right-click software in physical view and try to delete or add a test that contains that variable?
Because the error is not only happening with function blocks, but also with regular variables.
If that’s true, you did what you wrote, but the error remains
I’ve tried ‘add’, ‘delete’, ‘enable’, ‘disable’

Can you share the error code(number) on Output results? An Attached image has limited information without error code.
Or how about contact your local support team with project file? LINK


non-error code, i can’t find it

It’s not easy to find the reason without error code.

How about try double click error line on Output Results.
It will go nearby error caused location and you can try to find out reason.
and additional hint is path on File category on Output Results.

해당 오토메션 스튜디오 버전을 재설치하니 컴파일되었습니다
도와주셔서 감사합니다
I reinstalled the corresponding version of Automation Studio and it compiled
Thank you for your help

2 Likes

Happy that you solved it. But I do not think that problem was in AS itself. Undefined reference is usually error from linker. This error occurs during the linking phase of the compilation process, and it indicates that the linker cannot find the definition. So I think something was accidentally deleted it. Just info for you for next time :slight_smile:

1 Like