AronHetLam / ATEM_tally_light_with_ESP8266

Wireless tally light for use with ATEM switchers, which connects over WiFi, using an ESP WiFi module.
GNU General Public License v3.0
153 stars 39 forks source link

Compling issue #90

Closed KauppaKumpu closed 1 year ago

KauppaKumpu commented 1 year ago

I'm totally out my comforzone here as building Tally Lights as instructed.

Followed instructions step by step. Got stuff downloaded and installed unzipped stuff to Arduino directory as instructed but: on bot tested computers. iMac running OS 13.5.1 and Win10 same thing:

Compling stops on both systems to a error: Copypasting error here:

" .../Arduino/ATEM_tally_light_with_ESP8266-3.2.1/ATEM_tally_light/ATEM_tally_light.ino:35:10: fatal error: ATEMmin.h: No such file or directory 35 | #include | ^~~ compilation terminated.

exit status 1

Compilation error: ATEMmin.h: No such file or directory"

Have not a slightest clue where things went wrong since could duplicate this on two separate systems. Just to be sure used another USB cable and problem didn't go away.

AronHetLam commented 1 year ago

It seems like you haven't copied the libraries into the correct folder, as it's unable to find ATEMmin.h. From the error message it looks like you extracted the downloaded zip-file into the .../Arduino folder. This isn't necessarily a problem, but you need to copy the folders inside libraries from the download into .../Arduino/libraries. This is where the Arduino IDE looks for libraries.

I hope that makes sense. 🙂

KauppaKumpu commented 1 year ago

Well my directory looks like this on iMac, same on Win machine

Näyttökuva 2023-9-5 kello 19 39 38
AronHetLam commented 1 year ago

You need to move the libraries folder into the .../Arduino folder - so one step up in the hierarchy. The rest is all fine.

KauppaKumpu commented 1 year ago

Thanks! Will test right away.

KauppaKumpu commented 1 year ago

Should be ok, but no go still - time to call it a day

Näyttökuva 2023-9-5 kello 20 03 43
AronHetLam commented 1 year ago

Still doesn't look quite right. You need to move the libraries so that it is directly inside the Arduino folder.

Currently you have:

Arduino
-- ATEM_tally_light_with_ESP8266-3.2.1
---- libraries
------ ...

But you need to have:

Arduino
-- ATEM_tally_light_with_ESP8266-3.2.1
---- ...
-- libraries
---- ...
KauppaKumpu commented 1 year ago

Ok new day new ideas: Swapped to web version of Arduino IDE just to remove software/computer issues from equation, did fresh download from project page, -zip format as it offers. Upload downloaded .zip packet unaltered to Arduino web service and hook up project board as per instructions. All seems fine so far.

Hitting Verify introduces errors and process stops:

"..parse library properties: library properties not found.."

Defining missing these libraries: TallyServer, ATEMBbase and ATEMmin

Now totally out of ideas how to as packet uploaded to service is same as downloaded from GitHub project page it so problem is no more on my end of the internet. Need these tallys made and running within week. So please help!

AronHetLam commented 1 year ago

I haven't used the web version, so I'm not sure what that would need. I believe it's easiest to use the desktop version. The issue is that you need to move/copy the libraries folder from the download into another folder. It won't work if you keep it where it is. You should be able to just drag it into the .../Arduino folder. (At least on windows)

AronHetLam commented 1 year ago

This is what my libraries folder looks like. There's a lot of other stuff that you don't need, but that I use in other projects, so you can ignore those. The ones underlined with red are the ones you download with my code, and the FastLED (orange line) is one you add through the library manager, as described in the guide.

The .ino files can go be wherever on your syste, but the library folders need to be in that specific .../Documents/Arduino/libraries folder. image

KauppaKumpu commented 1 year ago

I used web version just to rule out bunch of possible problems and it has better verbosing of errors - lots of first time things happening here.

But due my old eyes.. can't see a properly all details of that screenshot on laptop but thin red lines on yellow something gibberish on a black background. Not on my desktop for rest of the day so can't verify my filestructure for sure till tomorrow but seems like to be same.

Let me verbose my thoughts right now before leaving house for rest of the day:

As I download latest .zip packet from GitHub it should contain all necessary files on right folders meaning file structure works on me too despite different operation systems used?

This is what I've come to understand after reading instructions.

That far I can also understand there should be no chances for mishappenings of my actions as I'm not doing nor able of doing a thing to alter it

Then unzipping it to a folder of my choice should recreate this correct structure.

As far as I still can understand I can't mess things up as my only action after downloading .zip packet is to hit unzip and let it happen while taking zip of my coffee.

Then launching Arduino IDE and opening freshly unzipped .ino file on it should survive the compile task like it supposed to and upload needed pieces of zeros and ones to ESP unit and tally lights work after setup?

If I only had savvy tech oriented friends nearby who could help with this, but no hope on that. It is beyond their skills too. They tend to think most of my stuff being odd wizardy already.

Thanks for Your patience.

AronHetLam commented 1 year ago

As I download latest .zip packet from GitHub it should contain all necessary files on right folders meaning file structure works on me too despite different operation systems used?

This is not correct. The Arduino IDE requires that you to move the library folders into the specific C:/Users/USERNAME/Documents/Arduino/libraries folder. This is the only place the Arduino IDE looks for libraries. This is also where the Arduino IDE will put the FastLED library when you add it through the library manager (which is described in the guide as well). If you add the FastLED library first, you will see C:/Users/USERNAME/Documents/Arduino/libraries/FastLED be created.

This is what you have, which will not work: C:/Users/USERNAME/Documents/Arduino/ATEM_tally_light_with_ESP8266-3.2.1/libraries/ATEMbase C:/Users/USERNAME/Documents/Arduino/ATEM_tally_light_with_ESP8266-3.2.1/libraries/ATEMmin C:/Users/USERNAME/Documents/Arduino/ATEM_tally_light_with_ESP8266-3.2.1/libraries/SkaarhojPgmspace C:/Users/USERNAME/Documents/Arduino/ATEM_tally_light_with_ESP8266-3.2.1/libraries/TallyServer

This is what it needs to look like: C:/Users/USERNAME/Documents/Arduino/libraries/ATEMbase C:/Users/USERNAME/Documents/Arduino/libraries/ATEMmin C:/Users/USERNAME/Documents/Arduino/libraries/SkaarhojPgmspace C:/Users/USERNAME/Documents/Arduino/libraries/TallyServer

However, it doesn't matter where the ATEM_tally_light.ino file is.

Here is the important part of the image, which should make it bigger: image

If you want to use the web version you need to zip each of the 4 libraries individually, and upload the zip files in the libraries tab. That should be possible.

KauppaKumpu commented 1 year ago

Now I think I can see the light on this. Compling on laptop went as supposed and uploading also. Next phase with setup and soldering should be easy as this part of my "wizardy" is more like what I'm used to

Hope to show working Tallys to our minister so he felt confident and knows which camera to look at ;)

Thanks for patience

AronHetLam commented 1 year ago

Awesome! Glad you got it working. I'll close this issue, but feel free to write again if you're having trouble.