Hello,
I was trying to bulid the DuetWifiSocketServer project. I have read the buildinstruction and a topic about buliding DuetWifiServer, which is https://forum.duet3d.com/topic/4984/cant-build-duetwifiserver.
I followed the steps in that topic and now I can bulid the LwipESP8266 and the CoreESP8266 without any error. However, for the DuetWiFiSocketServer, eclipse sent this error:
Building target: DuetWiFiSocketServer.elf
Invoking: Cross G++ Linker
xtensa-lx106-elf-g++ -nostdlib -L"C:\Eclipse\Firmware\CoreESP8266\Release\cores\esp8266" -L"C:\Eclipse\Firmware/LwipESP8266/Release" -L"C:\Eclipse\Firmware/CoreESP8266/sdk/lib" -L"C:\Eclipse\Firmware/DuetWiFiSocketServer/src/ld" -TDuetWiFiSocketServer.ld -Wl,--no-check-sections -u call_user_start -u _printf_float -u _scanf_float -Wl,-static -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -Wl,-Map,DuetWiFiSocketServer.map -o "DuetWiFiSocketServer.elf" -Wl,--start-group C:\Eclipse\Firmware/CoreESP8266/Release/cores/esp8266/heap.o ./src/Connection.o ./src/HSPI.o ./src/Listener.o ./src/Misc.o ./src/SocketServer.o -lCoreESP8266 -lhal -lphy -lpp -lnet80211 -lLwipESP8266 -lwpa -lcrypto -lmain -lwps -laxtls -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group
xtensa-lx106-elf-g++: error: C:EclipseFirmware/CoreESP8266/Release/cores/esp8266/heap.o: No such file or directory
makefile:45: recipe for target 'DuetWiFiSocketServer.elf' failed
make: *** [DuetWiFiSocketServer.elf] Error1
But I can find that file in the directory, I am really confuse why it can not find that file.
Really appreciate any help to solve that problem.
Following is the branch of my projects:
- CoreESP8266-master
- LwipESP8266-dev
- DuetWiFiSocketServer-dev