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 : https://gist.github.com/zacharycarter/846869eb3423e20af04dea226b65c18f
I added this at the begining of my header file : #ifdef C2NIM # dynlib tilenginedll # cdecl # if defined(windows) # define tilenginedll "tilengine.dll" # elif defined(macosx) # define tilenginedll "tilengine.dylib" # else # define tilenginedll "tilengine.so" # endif #endif
and the c2nim compiler outputed a .nim file, but the problem is I have some errors in this file
Do you know why? How can I fix it please? Thanks for the answer!
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:: http://image.noelshack.com/fichiers/2021/22/4/1622728327-capture.png
That's a bit weird