-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.2.0 - Linking Issue #163
Comments
could this be the issue? v1.1.0 in the config?
also, make sure you are including both the library and the https server:
|
example:
|
Compiles fine with 1.1.0 it faults on 1.2.0. |
I don't think this is worth a repo share over. In short I can repeat the issue with the following main.cpp file: PsychicHttpsServer server; void setup() {} The linking error occurs compiling the above at version 1.2.0, not at 1.1.0. If swapping PsychicHttpsServer for PsychicHttpServer no error occurs no matter the version. For additional reference the platformio.ini is: [env:seeed_xiao_esp32s3] lib_deps = |
Upgrading from v1.1.0 to v.1.2.0 I get multiple linking errors. i.e.:
../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio\build\seeed_xiao_esp32s3\src\main.cpp.o:(.literal.exit._GLOBAL__sub_D_local_hostname+0x2c): undefined reference to PsychicHttpsServer::~PsychicHttpsServer()'
This error gets repeated for all PsychicHttp related uses. Not sure where to start with diagnosing this. The project is fairly simple, just an HTTPS server running WSS. All that aside this has been an amazing library compared to all of the other options I've tested. Keep up the great work.
The platformio.ini is:
[env:seeed_xiao_esp32s3]
platform = espressif32
board = seeed_xiao_esp32s3
framework = arduino
board_build.filesystem = littlefs
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, direct
build_flags =
-D ARDUINOTRACE_ENABLE=0
-D ASYNC_WORKER_COUNT=20
lib_deps =
bblanchon/ArduinoJson@7.1.0
hoeken/PsychicHttp@1.1.0
The text was updated successfully, but these errors were encountered: