I'm currently working on a kotlin/native mingwX64 ...
# kotlin-native
e
I'm currently working on a kotlin/native mingwX64 project and when I try to compile I get this error: https://hastebin.com/fewuwovulu.log anyone got an idea what the issue could be (I use KGL and nothing else)?
a
I can’t open https://hastebin.com/fewuwovulu.log - empty window
a
Copy code
undefined reference to `glfwDestroyWindow'
First few lines explains that
You have linking problems, possibly you forgot to provide linkerOpts in the cinterops
e
oh shit, I'm actually using a lib for the cinterops 😕 lets go wrapping opengl on my own or does someone know a good lib
a
Yeah, I had this issue as well
I shifted to use dynamic library linking using <dlfcn.h> cause I also had to support non-x11 systems in my project that was ideal solution, maybe you can create an issue on the library provider about that he may need to add the linker opts or do sth else maybe like me 😛.