Comments (6)
Hi. That's strange because the CommandQueue.h
is there in the root. How are you compiling the program, what pio version, what OS?
from esp32_cnc_pendant.
So I tried Visual Studio first but was getting this error :
In file included from src\devices\GCodeDevice.cpp:1:0:
src\devices\GCodeDevice.h:4:26: fatal error: etl/observer.h: No such file or directory
So I saw on one of the youtube videos you mentioned that changing the main.cpp file to main.ino will work so I tried that. The IDE put the file into a Main Folder so that is why the CommandQueue.h was missing. So i copied that into the devices folder at that error disappear but now I'm getting this error, CommandQueue.h:5:28: fatal error: message_buffer.h: No such file or directory. Now I saw there is a message_buffer.h: file and I tried copying it into and the devices folder which did not work and also copied into root where main.ino file is and still that did not work.
from esp32_cnc_pendant.
Let me get this straight, do you use "Visual Studio Code" or "Visual Studio"? You mention IDE, what IDE exactly are you talking about? Please be more precise so that I understand what you are dealing with.
Though it's possible, I don't recommend using Arduino IDE (and changing file extension to .ino) because you'd need to manage the libraries manually. In this case, the Arduino IDE complains about missing etl library, which you need to install manually. There are other required libraries, all listed in platformio.ini
.
I'd really try to solve the problem with platformio, that's probably a shorter path than going Arduino IDE way.
from esp32_cnc_pendant.
Ok so I found this link https://github.com/ETLCPP/etl/blob/master/include/etl/observer.h
I downloaded the zip and put the etl folder within the devices folder and then back in VS I changed all the links from #include <etl/observer.h> to #include "etl/observer.h" and #include <etl/vector.h> to #include "../devices/etl/vector.h" etc and was able to build it successfully. I just need to upload it to the lolin32 card and work out the wiring fingers crossed. Hope this helps someone else.
from esp32_cnc_pendant.
Sorry yes I was using Visual Studio Code. I have used it for Marlin before and some ESP32 test files. I find that VSC can have issues updating libraries and I have to uninstall and reinstall it. I'm sure it should be pulling the etl library down but not sure why it's not. I was trying Arduino IDE just as an alternative.
from esp32_cnc_pendant.
I've just noticed that etl library is somewhat broken in the latest version and if I build from scratch, my build fails on missing etl too. I've pinned library versions and rolled back etl, now it should download old but working version. Could you please check if it works for you? (to make sure platformio uses the specified version, just delete whole .pio
folder in project folder)
Also, there is a schematic now here:
https://github.com/positron96/ESP32_CNC_Pendant/blob/master/docs/Schematic_espendant_2022-02-24.png
from esp32_cnc_pendant.
Related Issues (8)
- connection to CNC machine HOT 6
- Test Conditions for CNC ESP32 HOT 3
- Glcd not working..... HOT 5
- Pin ESP32 SDK version HOT 2
- hello errors HOT 12
- F360 or STEP files available? HOT 6
- O lcd não tem caracteris HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32_cnc_pendant.