Wrapping GameMusicEmu library but errors

2021-06-09 Thread System64
It runs, it compiles, but no sound :/

Wrapping GameMusicEmu library but errors

2021-06-09 Thread System64
Shouldn't I use the dynlib: libgmedll pragma?

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
That's weird, and I dunno why the procs needs a MusicEmu object to work I know the guy does Music_Emu* (pointer there) = emu

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
for the string it's a ptr char, I don't know how to pass that kind of thing to the function

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
Edit : Alright I fixed the object thing but still have the file error

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
Sadly it's the only chiptune player API that can play quite everything :/

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
My IDE says "object constructor needs an object type"

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
So it's impossible to wrap for now?

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
That's exactly what I did and how I found the bugged line

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
Now it says that : SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
It compiles well but my exe instant crash with this following error : could not import: gme_wrong_file_type

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
I have the errors " ':' or '=' expected but got 'gmeXXXType' (for each type)

Wrapping GameMusicEmu library but errors

2021-06-08 Thread System64
Hello, I'm trying to wrap the GameMusicEmu lib, a lib that allows you to play various musics from old chiptune systems such as NES or MegaDrive but when I compile my project, it compiles without any errors but when I run the output exe, it instantly crash with this error : could not import: gme

C Tilengine lib binding to Nim : Errors

2021-06-03 Thread System64
Alright I did with the --nep1 switch, it removed all errors (I think the IDE took some time to refresh the errors list) but new errors appeared .. image:: That's a bit weird

C Tilengine lib binding to Nim : Errors

2021-06-03 Thread System64
even with the switch and the preprocessor command, I have the same errors

C Tilengine lib binding to Nim : Errors

2021-06-03 Thread System64
Should "#mangle _MSC_VER vcc" be put inside my header file?

C Tilengine lib binding to Nim : Errors

2021-06-03 Thread System64
Hello! I try to make a binding for the C tilengine library, I compiled it to dll and followed the tutorial to make a binding there : I added this at the begining of my header file : #ifdef C2NIM # dynlib tilenginedll # cde