DCC-EX / EX-T3-WiFi

ESP32 based WiFi throttle for DCC++
GNU General Public License v3.0
16 stars 4 forks source link

compilation problem in new release #6

Closed jregholdsworth closed 1 year ago

jregholdsworth commented 1 year ago

Fails during compilation with the following output:

lots of good stuff then

Compiling .pio\build\firebeetle2\FrameworkArduino\stdlib_noniso.c.o Compiling .pio\build\firebeetle2\FrameworkArduino\wiring_pulse.c.o Compiling .pio\build\firebeetle2\FrameworkArduino\wiring_shift.c.o In file included from lib/UI/Img/Img.cpp:2: lib/UI/Img/BMP.h:9:31: error: expected class-name before '{' token class BMP : public ImgHandler { ^ lib/UI/Img/Img.cpp: In static member function 'static Img Img::load(fs::File)': lib/UI/Img/Img.cpp:9:25: error: cannot convert 'BMP' to 'Img*' in return return new BMP(img); ^ *** [.pio\build\firebeetle2\lib258\UI\Img\Img.cpp.o] Error 1

alex-code commented 1 year ago

Img.h & Img.cpp were renamed.

How did you update?

jregholdsworth commented 1 year ago

I down loaded the new code files from git hub to the old location..reloaded the project files and then tried a test compile..I'll create a completely new folder and try again

On 5 December 2022 19:46:03 Alex @.***> wrote:

Img.h & Img.cpp were renamed. How did you update? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

jregholdsworth commented 1 year ago

Apologies I cleaned and made a new folder and it works...the throttle has an ip address of 192.168.0.202...god only knows why the router chose this but it works..DHCP works in mysterious ways?

Thanks again..

Ps I note that although the throttle web page is inactive when the T3 button isn't pressed I can still ping it's address and get a response..

On 5 December 2022 19:46:03 Alex @.***> wrote:

Img.h & Img.cpp were renamed. How did you update? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

alex-code commented 1 year ago

Glad you got it working. A device can respond to a ping without having an active server.