probonopd / WirelessPrinting

Print wirelessly from Cura, PrusaSlicer or Slic3r to your 3D printer connected to an ESP8266 or ESP32 module
352 stars 65 forks source link

Include relevant libraries #160

Closed jkruiktech closed 3 years ago

jkruiktech commented 3 years ago

Dont know that you can "comment" so I just made it an issue.

It would be good to have a version that doesn't assume any additional libraries are already installed. Maybe I should put that together in a separate project? (once I have all my dependencies sorted out myself). Might help some people to get off the ground a bit quicker, especially those who aren't quick at debugging (e.g. me).

Also getting a few errors when compiling. I would have thought it would work straight out of the box but maybe that's unrealistic given the variety of downloaded libraries.

probonopd commented 3 years ago

Are you building like this?

# Get PlatformIO (the toolchain we use for compiling)
git clone https://github.com/probonopd/WirelessPrinting
cd WirelessPrinting
wget -c https://downloads.egenix.com/python/install-pyrun
bash install-pyrun --python=3.5 pyrun/
pyrun/bin/pip3 install -U platformio==4.2.1

# Build the firmware (it downloads the needed libraries)
pyrun/bin/platformio run
find . -name "*firmware.bin"
jkruiktech commented 3 years ago

No sorry I hadn't been building using platformIO. That would be the issue, thanks!