I’ve got it to compile and load into the rack, but I can’t get numbers to show on my LCD display.
Is there something I have to do to initialise it? It looks like it should just refresh itself automatically.
Can anyone tell me what’s going wrong? There’s no process code yet, just the components. I’ve copied the LCD code from another module, so it should be ok.
As far as I can see, vec(6,17) should be in my box. However, I tried other, smaller values with no effect. I also enlarged the box.
I added the line “TransparentWidget::draw(args);” both at the top and bottom of my draw override function, to no effect. However, note that this does not appear in the code I copied, which works fine.
Well I didn’t look at any logfile, But it compiled and executed with no warnings - just failed to display any text. And yes, I made a call to load a font that didn’t exist on my drive.
If you run rack from command line you’ll see useful messages printed out to the terminal on stderr. If not then it looks like it goes to a log.txt file somewhere. I tend to only run from command line when developing.
I was also going to mention that compiling and running with address sanitizer can catch issues like this and more and it aborts immediately. But it’s not a supported build configuration so it’s probably more trouble than it’s worth at this stage
no, it’s not more trouble than it’s worth. It’s a little bit of trouble, and you can’t do it on windows. It’s for sure worth it if you have a tricky problem.