-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with utility/util.h #24
Comments
I was able to resolve this error.. create a utility folder in the e131 library, then create the util.h file with the following in it. From (https://raw.githubusercontent.com/esp8266/Arduino/master/libraries/Ethernet/src/utility/util.h) #ifndef UTIL_H #ifndef htons #ifndef ntohs #ifndef htonl #ifndef ntohl #endif |
That's the solution, thanks you so much!!! |
how do you create the util.h file? I created the folder Utility insdie the e131 library, however I am not sure how to create a .h file |
Right click and create a .txt file. Then change the name to util.h. It will ask you if you really want to change the file name, click yes. |
.txt as in a text file? so its just looking for a word or text file with that util.h name and the above text in it? |
Yes, except it is a header file for the programming language C(++) |
Ok so in order to make a header file do i need to be in a specific program or when do i need to be to make one if i right click under the utility folder it lets me create a txt file and i renamed it however i still get the same error so i am not doing something right. |
|
Make sure you have don’t have file extensions hidden in windows explorer, otherwise the actual file name will be until.h.txt, see this on how to enable viewing extensions.. https://m.youtube.com/watch?v=PoTah9YBG2Y |
I did insert the code or text that was listed above...i am at work now so I will have to look at the file extension when i get home...ty guys for the help |
I was able to go in and change the file extension and the above problem is gone but now I cant get the e131 command line to work in the first part of the sketch it ask for my ssid and passcode but the towards the bottom it ha the code listed below I cant get it to compile the sketch it keeps telling me its no declared. when you look at this part of the sketch what is it asking for ? do I need to replace the words with my actual info? // only uncomment one of the two below to select |
I've followed the instructions listed above and created the util.h, but I'm now getting new errors n file included from /Documents/Arduino/libraries/E131-master/E131.h:39:0, pragma message "FastLED version 3.004.000"
exit status 1 |
Could just be me beeing dumb... To which file should "utility/util.h" in the E131.h link? When compiling if gives me the classical:
"C:\Users\...\Documents\Arduino\libraries\E131-master/E131.h:39:29: fatal error: utility/util.h: No such file or directory
When searching in the explorer, I am not able to find this library. Where should it be and where could I get it, if it was missing on my PC?
Thanks in advance!!!
The text was updated successfully, but these errors were encountered: