Xinyuan-LilyGO / T-Deck

191 stars 43 forks source link

Can't compile unit test #23

Open lazzaroevan opened 3 months ago

lazzaroevan commented 3 months ago

Using a fresh clone of the repository, I can't build the project with unit test selected. When I do, it says that it is missing

"*** missing SConscript file 'script\pos_extra_script.py' File "C:.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 180, in "

If I try to comment this out, then it says

"xtensa-esp32s3-elf-g++: error: examples/UnitTest/UnitTest.ino.cpp: No such file or directory xtensa-esp32s3-elf-g++: fatal error: no input files"

Please advise

lewisxhe commented 3 months ago

remove this line in platformio.ini

extra_scripts = script\pos_extra_script.py
lazzaroevan commented 2 months ago

Like I said in my first comment, when I take that line out it errors out with

"xtensa-esp32s3-elf-g++: error: examples/UnitTest/UnitTest.ino.cpp: No such file or directory xtensa-esp32s3-elf-g++: fatal error: no input files"

lewisxhe commented 2 months ago

In your case, platformio is not ready yet or the error will be reported after the installation is not completed. Please re-download the warehouse code and reopen it. image