project-lambdamenu icon indicating copy to clipboard operation
project-lambdamenu copied to clipboard

Cannot add animations in anim.cpp - Internal compiler error

Open IzioDev opened this issue 4 years ago • 5 comments

I can see anims are hardcoded in the file, but i get compile error when trying to add more (when it reach like 120k+ entries).

const std::vector<std::string> ALL_ANIMS = {
 // ...
}

Do you think we could do it other way ?

IzioDev avatar Feb 14 '21 19:02 IzioDev

@izio38 could you send me your file and I'll have a look? I've not added any animations before. Even a pull request if that's easier.

Firecul avatar Feb 14 '21 20:02 Firecul

https://privatebin.net/?04805da1536da216#2EihJ6CBTBHdxtijoN9kUk4SCzzZM4YuGkJozReCKwMq

I tried to get some help here https://discord.com/channels/172018499005317120/258361499519549440/810587928761466881

IzioDev avatar Feb 14 '21 22:02 IzioDev

Ok @izio38 I've only had a few hours to figure out the problem, I can have up to 60k lines of animations no problem. Much more and the compiler takes a fit and crashes. I'm going to try and break them up and see if that works but I don't see how to add them all to a single menu.

Firecul avatar Feb 21 '21 21:02 Firecul

Yes.

It is not easy. Might need a menu rework. With multiple NodeTree and submenu.

Le dim. 21 févr. 2021 à 22:58, Firecul [email protected] a écrit :

Ok @izio38 https://github.com/izio38 I've only had a few hours to figure out the problem, I can have up to 60k lines of animations no problem. Much more and the compiler takes a fit and crashes. I'm going to try and break them up and see if that works but I don't see how to add them all to a single menu.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Firecul/project-lambdamenu/issues/6#issuecomment-782934459, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLRGLS54NO2PD6GA4FP3LLTAF6W5ANCNFSM4XTQKKIA .

IzioDev avatar Feb 22 '21 07:02 IzioDev

@izio38 could you send me your file and I'll have a look? I've not added any animations before. Even a pull request if that's easier.

@Firecul I tagged, what even is the issue, is CPP just a side thing for you btw?

PulledResort avatar Mar 19 '21 06:03 PulledResort