I'm trying to get the mingw toolchain working from Qt, because I really like Qt and don't have an alternative for an IDE (that I know of). Compilations are going OK, but at link time I get a lot of unresolved references.
The first one I encountered was esp_wifi_scan_get_ap_records, which I tracked down to C:\esp-idf-v3.0-rc1\components\esp32\lib\libnet80211.a. I added this to my libs, and it seems that the linker is picking up the library, but I'm still getting the error.
Here's the generated build line:
Code: Select all
g++ -Wl,-subsystem,console -mthreads -o debug\sockets.exe debug/main.o debug/socket.o C:\esp-idf-v3.0-rc1\components\esp32\lib\libnet80211.a
Any ideas what I'm doing wrong? Thanks...