Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic esp_DMX Used to compile and now it doesn't (Read 460 times)
Chevelle
Junior Member
**
Offline


Posts: 35
Joined: Feb 29th, 2020
esp_DMX Used to compile and now it doesn't
Jan 27th, 2025 at 1:37pm
Print Post  
Don't you hate when that happens. One day everything is fine, and the next it isn't.

I had my application working just fine. Then next time I did a revision that had nothing to do with the DMX library, it would not compile. Just to be sure that it wasn't something in my code, I loaded the DMXReadTest. That complile failed. 

The compiler output is attached.

Any suggestions are greatly appreciate.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2729
Joined: Feb 13th, 2019
Re: esp_DMX Used to compile and now it doesn't
Reply #1 - Jan 27th, 2025 at 1:57pm
Print Post  
Thanks for the report, it looks like the changes in the ESP32 board package are incompatible with the latest version of the library.

On their issues list on GitHub a user suggests rolling back the ESP32 board package to v3.0.4, and then using v4.0.0 of this library:
https://github.com/someweisguy/esp_dmx/issues/186
  
Back to top
IP Logged
 
Chevelle
Junior Member
**
Offline


Posts: 35
Joined: Feb 29th, 2020
Re: esp_DMX Used to compile and now it doesn't
Reply #2 - Jan 27th, 2025 at 2:38pm
Print Post  
Oh Geeze.  I have enough trouble dealing with the code errors I make.  It is very frustrating when things shift underneath you and cause problems.  This is not the first time this has happened.

It compiled fine with the ESP32 core rolled back to 3.04 and leaving the ESP_DMX library at 4.1.0

I am just going to have to start adding a comment section to my code showing the revisions of the core and the libraries used so I can at least have some idea of a environment that worked.

Thanks very much.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2729
Joined: Feb 13th, 2019
Re: esp_DMX Used to compile and now it doesn't
Reply #3 - Jan 27th, 2025 at 2:42pm
Print Post  
No problem, and understand the frustration.

One way you can encapsulate the versions needed for a specific project is to use the "arduino-portable" solution folder.
https://www.visualmicro.com/page/How-to-Encapsulate-a-Board-Package-with-a-Solut...

NOTE: When using this approach with the ESP32 board package, the solution folder structure should be placed as close to the root of the drive as possible (paths over 30 chars to the solution folder can become problematic).

This allows the board package, and all libraries to be captured within the solution folder structure, so you don't need to remember them when moving between different solutions.

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint