espsoftwareserial icon indicating copy to clipboard operation
espsoftwareserial copied to clipboard

Ghostl library not installed via PlatformIO

Open CraigBurden opened this issue 1 year ago • 8 comments

Hi there,

When adding this library to a PIO project using plerup/EspSoftwareSerial@^8.2.0 the build fails as the ghostl library has not been installed and the circular_queue.h file is not found.

This can easily be fixed by adding https://github.com/dok-net/ghostl to lib_deps, but should not be required if the dependency is setup correctly

CraigBurden avatar Jan 11 '24 13:01 CraigBurden

doesn't really work?

Library Manager: Installing dok-net/ghostl @ ^1.0.0
Library Manager: Warning! Could not install `{'owner': 'dok-net', 'name': 'ghostl', 'version': '^1.0.0'}` dependency for the`EspSoftwareSerial` package

sartyx avatar Jan 13 '24 16:01 sartyx

@sartyx @CraigBurden @sjorsa I've spoken to the original EspSoftwareSerial maintainer, from whom I've taken over. He wasn't the one who registered EspSoftwareSerial with platform.io either - but isn't able to find out who it was and who's potentially behind registering new releases. And no, it's not necessary for the registrant to be the same person as the development lead. This is open source. If nobody takes any perceived "risk" to have a little effort, nobody is entitled to complain, either :-) If you have an platformio account or are willing to create one, and if you can think you can show due dilligence in submitting, reviewing the result and perhaps updating for new releases in the forseeable near future, please go ahead and publish ghostl. It is OK by me!!! I'm just not going to do it myself, there's nothing in that for me except the hassle.

dok-net avatar Jan 14 '24 18:01 dok-net

Hi, after installing git basch for windows, I was try to add lib_deps = maxgerhardt/ghostl@^1.0.0 and https://github.com/dok-net/ghostl/archive/refs/tags/1.0.0.zip and https://github.com/dok-net/ghostl/

and still doesn't work, ive got an error:

Resolving pico32 dependencies...
Library Manager: Installing dok-net/ghostl @ ^1.0.0
UnknownPackageError: Could not find the package with 'dok-net/ghostl @ ^1.0.0' requirements for your system 'windows_amd64'

EDIT: on version 1.0.1 still the same ... EDIT2: for now, the forked version is working great: https://github.com/jmceleney/espsoftwareserial

popos123 avatar Feb 24 '24 14:02 popos123

doesn't really work?

Library Manager: Installing dok-net/ghostl @ ^1.0.0
Library Manager: Warning! Could not install `{'owner': 'dok-net', 'name': 'ghostl', 'version': '^1.0.0'}` dependency for the`EspSoftwareSerial` package

Just had the same issue, solved it by cloning the https://github.com/dok-net/ghostl repo into my libs folder, make sure that dok-net/ghostl is NOT part of lib_deps.

verilog-indeed avatar Mar 02 '24 20:03 verilog-indeed

Solved it bij splitting name and version in library.json (See pull request)

"dependencies": {
        "name": "ghostl",
        "version": "maxgerhardt/ghostl@^1.0.0"
    }

You can also specify a direct url into the github repo in stead of <owner>/<repo> construction

Bascy avatar Mar 12 '24 20:03 Bascy

so anyone cane make a new release e.g. 8.3.0 with two critical fixes from this #307 and #311 and optionally from #310? really please, this library is almost perfect :(

popos123 avatar Mar 27 '24 15:03 popos123

you can make your own fork/version on the upper right corner with the fixes

sartyx avatar Mar 28 '24 06:03 sartyx

Fixed by publishing the ghostl library to PIO under my own account now.

dok-net avatar Apr 21 '24 20:04 dok-net