Giter VIP home page Giter VIP logo

Comments (6)

positron96 avatar positron96 commented on July 2, 2024

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.

Kordoj avatar Kordoj commented on July 2, 2024

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.

positron96 avatar positron96 commented on July 2, 2024

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.

Kordoj avatar Kordoj commented on July 2, 2024

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.

Kordoj avatar Kordoj commented on July 2, 2024

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.

positron96 avatar positron96 commented on July 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.