Search found 6 matches
- Wed Mar 02, 2022 10:27 am
- Forum: Support and Development
- Topic: Problem debugging dll code I made for love2d projects
- Replies: 8
- Views: 5022
Re: Problem debugging dll code I made for love2d projects
I also noticed some mentions of " gc " in the backtraces, and it does kinda seem like the problem is with the garbage collector. I compiled the lib with --gc:markAndSweep ( docs ), which makes thread-local heaps, and seems like it's not crashing anymore. I had tested the code yesterday as ...
- Thu Feb 24, 2022 9:28 pm
- Forum: Support and Development
- Topic: Problem debugging dll code I made for love2d projects
- Replies: 8
- Views: 5022
Re: Problem debugging dll code I made for love2d projects
I'm beginning to suspect that somehow the Nim library is not being initialized. Maybe ask if someone has experience writing a DLL in Nim that calls library functions. Well, the crash happens while using the lib, so I don't think there's a problem with loading it. And it doesn't always happen in the...
- Thu Feb 24, 2022 12:46 am
- Forum: Support and Development
- Topic: Problem debugging dll code I made for love2d projects
- Replies: 8
- Views: 5022
Re: Problem debugging dll code I made for love2d projects
Thanks for your answers. Both are actually helping. Is there a way to manually change where Nim prints/echoes stuff? (I assume not, but otherwise you should be able to call GetStdHandle to get the correct file handle.) Are you using lovec.exe (instead of love.exe)? Can you share a project (with the ...
- Sat Feb 19, 2022 3:11 pm
- Forum: Support and Development
- Topic: Problem debugging dll code I made for love2d projects
- Replies: 8
- Views: 5022
Problem debugging dll code I made for love2d projects
(This is a cross-post from r/love2d ) I've written some native code for two of my projects (using the Nim bindings to Lua's C API), and I compiled it into dll files which get required from my Lua code. But I always have this issue that I can't easily debug it. Whenever there's an error on the native...
- Wed Dec 18, 2019 12:03 pm
- Forum: Support and Development
- Topic: love.graphics.print not printing to screen!
- Replies: 14
- Views: 22169
Re: love.graphics.print not printing to screen!
This problem has been fixed on 11.3!
https://love2d.org/wiki/11.3
https://love2d.org/wiki/11.3
Fixed text not showing up on Radeon HD 3000-series graphics cards on Windows.
- Fri Feb 22, 2019 7:06 am
- Forum: Support and Development
- Topic: love.graphics.print not printing to screen!
- Replies: 14
- Views: 22169
Re: love.graphics.print not printing to screen!
decided to post my fix I used pre my new graphics card. Its not perfect and the sprite sheet could be better but it works. https://github.com/PhilMo6/love2dPrintWorkaround This uses anim8 to split an alphanumeric sprite sheet into quads and creates a print function that then draws the correct quads...