-
Notifications
You must be signed in to change notification settings - Fork 5
how to run one of the examples? #2
Comments
Thanks for your interest in the library. I suggest you to post the question on PlatformIO Forum to ask for support from experienced people specialized in PIO. Hopefully you'll post your experience on how to fix the issue here to help other library's users. Regards, |
Ehm ... there's nothing wrong with my PIO setup. I've been using it for years. I was merely asking how to try out your sample code. I don't think people in the PlatformIO community can help figure out how you've intended your examples to the used. But hey, thanks anyway. All the best -jcw. |
Looks like the problem is here:
Adding Also here: https://github.com/khoih-prog/STM32AsyncTCP/blob/master/library.json#L18 |
So the Phil Bowles' STM32AsyncTCP very-new library has not been included into PIO Library Manager. You can copy/install it manually or post an issue on STM32AsyncTCP to ask the Author to fix the issue as we can't do that. There is one issue posted there relating to your issue: |
Aha, yep. I'll try this. BTW, since you have a fork, you could also fix it there - for the time being anyway ... |
I'm a litlte bit hesitant to do so as this is his right to his library to make it included into PIO Library Manager. In the mean time, just download a copy of STM32AsyncTCP Library, then copy the whole library directory onto ~/.platformio/lib for Ubuntu/Linux machine. |
That's what I did. I had to make one more change, see philbowles/STM32AsyncTCP#1 - now your hello example builds and works properly \o/ There's no need to wait for him to make the change, you can simply adjust your own
PIO will then go directly to your fork to fetch the library (because the library is named "abc/def", i.e. with a slash). Use of the PIO library registry is optional. You're not interfering with Phil's right, as author, to be listed in PIO's registry. The other dependencies can be dropped, PIO will find them. So to summarise: if you adjust your fork and PS. No need to copy the library to a global area. Here's my test setup, which compiles and runs properly:
|
One more note: I had to add this setting as well:
And fix the |
See [how to run one of the examples?](#2)
### Releases v1.2.6 1. Fix dependency on unpublished [**STM32AsyncTCP Library**](https://github.com/philbowles/STM32AsyncTCP). Check [Compilation broken due to error in STM32AsyncTCP dependency](#4) and [how to run one of the examples?](#2).
### Releases v1.2.6 1. Fix dependency on unpublished [**STM32AsyncTCP Library**](https://github.com/philbowles/STM32AsyncTCP). Check [Compilation broken due to error in STM32AsyncTCP dependency](#4) and [how to run one of the examples?](#2).
Hi @jcw Thanks for your contribution. As the issue is spanning across several libraries, I have to take over to modify and release the new version. Your and chris007de contributions have been noted in Contributions and Thanks Please check to see if there still any other issue. Releases v1.2.6
|
### Releases v1.1.5 1. Fix dependency on unpublished [**STM32AsyncTCP Library**](https://github.com/philbowles/STM32AsyncTCP). Check [Compilation broken due to error in STM32AsyncTCP dependency](khoih-prog/AsyncWebServer_STM32#4) and [how to run one of the examples?](khoih-prog/AsyncWebServer_STM32#2).
### Releases v1.2.6 1. Fix dependency on unpublished [**STM32AsyncTCP Library**](https://github.com/philbowles/STM32AsyncTCP). Check [Compilation broken due to error in STM32AsyncTCP dependency](#4) and [how to run one of the examples?](#2).
### Releases v1.1.5 1. Fix dependency on unpublished [**STM32AsyncTCP Library**](https://github.com/philbowles/STM32AsyncTCP). Check [Compilation broken due to error in STM32AsyncTCP dependency](khoih-prog/AsyncWebServer_STM32#4) and [how to run one of the examples?](khoih-prog/AsyncWebServer_STM32#2).
Hello - I'm trying out your project with PlatformIO and a Nucleo-F767ZI. I've adjusted the settings in
platformio.ini
for PIO v5, but can't seem to figure out how to run any of the examples. The dependencies are fetched and compile properly, but then the link fails due to missing setup/loop functions.What's the proper way to compile one of the hello examples? It tried copying the
platformio.ini
file one level up, and copying it into an example folder, but that doesn't work.Cheers -jcw
The text was updated successfully, but these errors were encountered: