kmcloutier
I'm trying to define a block in v4. I can define the block so that it shows up in the editor, and I can use it, but when I try to compile, it complains. Should I be able to do this? I have my .xml, .txt, and .h files in the structure as I did in v3. I didnt know if this should work.  
 
[203128%2F9449386%2Fmceclip0]
Reply 0 0
thiagoralves
Unfortunately v4 does not have an easy path to add blocks yet. You will have to make changes in the xml2st compiler to add your block and recompile it for the process to work. We will make changes to the xml2st that will allow it to load description of blocks externally, so we don’t have to recompile it every time that the library changes.
Reply 0 0
kmcloutier
Alright, I modified the xml2st code and recompiled it to an exe using PyInstaller. I grabbed the XML2ST code from GitHub.  This may be an old project since it uses the XML files that v3 used. I can now modify the library while v4 is running.
 
I know this isn't where you guys are headed, but it has allowed me to continue making progress on my application for my device.
 
Thank you again for all of the work that you guys have put into this project.
Reply 1 0
thiagoralves
Thanks @kmcloutier ! Yes, that’s exactly what you needed to do to add support for your block on v4. It’s a bit of a convoluted process. We are building a library manager that will make this much smoother. Until then, you’ll have to hack your way in… 😅
Reply 0 0
Reply