[solved] Own Librarie working for me - but not for my dad

Hello Guys,

i'm prgramming the ESP8266 with the arduino IDE.

For better usage, i build an own librarie with all the function you need in every Scetch.

This works fine using this on my computer, but if we want to use it on my dads pc it just makes trouble.

You can copy paste all my scetches 1:1. It compiles to the ESP without any problems, but the ESP will not start working. It shows panic and writes a lot of stack to the Serial, then it resets and so on.

Do you have an idea, what can we check or improve?
I don't know where to look for. We already tested so many configurations.

Thanks a lot for helping, and sorry for that bad english :wink:

***** EDIT ****

Here comes the Testprogramm. Could anyone just try if this works on other Arduino IDEs?

esblibtest.zip (38.5 KB)

Please post the full text of the error, as text. There is never an appropriate time to post the text of an error as a screenshot - you don't get the whole error, we have to download a file to view it, and you can't copy/paste it.

Use the button on the IDE to copy all the output to clipboard so you can easily paste it in.

Can he compile any other sketches? Usually when you get hard exceptions showing up in the logs, the installation is busted and nothing will compile.

i asked him, to send me the hole text and will repost it. Sorry for that!

DrAzzy:
Can he compile any other sketches? Usually when you get hard exceptions showing up in the logs, the installation is busted and nothing will compile.

Yes he can do so. His own scetches work. Even if he just copy paste functions out of my lib into the scetch everything works.

If he calls MiloEspApi api(); this kills the hole runtime of the esp.

He just tried just to keep the Constructor of the lib. Same problems.... So we think it's a problem with the arduino ide and not with the lib.

Perhabs the textfile has a wrong transcoding oder something like that?

Now the lib works fine.

I just made a lot of changes in my lib and now everything works fine. We don't know why. But it works :slight_smile:

Thanks for the help!