This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Multiple definitions #1
Comments
Cross-posted to https://community.platformio.org/t/multiple-include/28287 |
Hi @wmarchewka This library is current using h-only style, and to use it correctly, you have either use the h-only style for your code or to include the library For example A) h-only style1. main.cpp
2. UdpListener.h
3. UdpListener_Impl.h
Also have a look at Fixed linker errors when included in multiple .cpp files #1 Anyway, I'll convert this outdated library later to use the same style as AsyncUDP_Teensy41 library, then you can use the example similar to multiFileProject Thanks to @maxgerhardt for the providing the solution in https://community.platformio.org/t/multiple-include/28287 |
Thanks all ! |
Hi @wmarchewka Check the new AsyncUDP_WT32_ETH01 release v2.1.0 and the multiFileProject Releases v2.1.0
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using platformio on a mac, trying to get this very simple code to compile. I get issues with the linker.
main.cpp
UdpListener.h
UdpListener.cpp
Verbose mode can be enabled via
-v, --verbose
optionThe text was updated successfully, but these errors were encountered: