Hello,
I already posted a message here:
viewtopic.php?f=2&t=1915&p=24335#p24335
...but I didn't get a response. Basically I want to compile my own image on a Pi to get the P115 aircon plug-in. I installed platformio and it seems to work, but I get errors in the source. The errors are due to `__ieee754_pow' and `__ieee754_sqrt'.
I'd rather not duplicate my message here, but what is the best way to compile ESPeasy on a Pi?
Thanks.
How to compile on Raspberry Pi?
Moderators: grovkillen, Stuntteam, TD-er
Re: How to compile on Raspberry Pi?
Hmmm very strange you'll get those errors on a Pi.
It looks like some library is not checking CPU architecture.
But it looks like it is caused by using the pow function.
I know it is used at least in the _P028_BME280.ino file.
Perhaps even somewhere else.
You could find those spots and replace the code by something else just to see if it then will compile.
So search on "pow" in the code.
It looks like some library is not checking CPU architecture.
But it looks like it is caused by using the pow function.
I know it is used at least in the _P028_BME280.ino file.
Perhaps even somewhere else.
You could find those spots and replace the code by something else just to see if it then will compile.
So search on "pow" in the code.
-
- New user
- Posts: 3
- Joined: 08 Feb 2018, 02:49
Re: How to compile on Raspberry Pi?
Hi,
Thanks for the suggestions. I could certainly put a band-aid over the problem, but I'd like to know the root cause and fix that instead.
I'm using a Pi as it is the most up-to-date Linux box I have. My laptop requires too much work to install Platformio so I can't do that right now.
Of course, a precompiled image including the P115 plug-in would be even better, although I expect I will want to customise the plug-in for my environment, so I'd still need the facility to recompile.
Thanks anyway.
Thanks for the suggestions. I could certainly put a band-aid over the problem, but I'd like to know the root cause and fix that instead.
I'm using a Pi as it is the most up-to-date Linux box I have. My laptop requires too much work to install Platformio so I can't do that right now.
Of course, a precompiled image including the P115 plug-in would be even better, although I expect I will want to customise the plug-in for my environment, so I'd still need the facility to recompile.
Thanks anyway.
Who is online
Users browsing this forum: No registered users and 15 guests