Xinyuan-LilyGO / LilyGo-Cam-ESP32S3

46 stars 17 forks source link

can not build #2

Closed lecrams closed 1 year ago

lecrams commented 1 year ago

If I follow your guide how to build eg the allfunction example I get the following error using VScode/platformio:

CMakeLists.txt not found in project directory d:\download\lilygo-cam-esp32s3-master\lilygo-cam-esp32s3-master.

building another example give the same kind of error that the cmakelist.txt can not be found?

next to that there are a number of undefines: CONFIG_I2C_MASTER_NUM, CONFIG_PMU_I2C_SDA, CONFIG_PMU_I2C_SCL, CONFIG_I2C_MASTER_FREQUENCY CONFIG_I2C_MASTER_PORT_NUM

did I miss something or is there a way to solve this?

lewisxhe commented 1 year ago

Why do you report cmake errors? Can you take a screenshot of your current editor's interface and errors

lecrams commented 1 year ago

image image

lewisxhe commented 1 year ago

You are wrong. You should use the platform io arduino framework instead of the platform io esp-idf framework. I see that you have installed platformuo. You should see the ticked icon in the lower left corner of the editor. That is the compilation

lecrams commented 1 year ago

I do not see any ticked icon do I need to select another view as above?

lewisxhe commented 1 year ago

image In the lower left corner of the editor, isn't it?

lecrams commented 1 year ago

I only see this at my bottom line: image

lewisxhe commented 1 year ago

It seems that your platformio plug-in is not activated. Please disable the espressf IDF plug-in in the plug-in, and then ensure that platformio is enabled. Then reopen vscode to see if platformio will be activated

lecrams commented 1 year ago

that solved it. Thx for your support