Hello

Tried to give ImportC a try to finally get rid of gluecode in one of my project, but this simple test gives me a compile error:


nk.c
```
int test(void)
{
    return 1;
}
```

app.d
```
import std.stdio;
import nk = nk;

void main()
{
    if (nk.test() != 0)
    {
            writeln("test");
    }
}

```

```
nk.obj : error LNK2019: unresolved external symbol test referenced in function _Dmain
```

Am i missing something important? (that is a dub project, created with: dub init)

DMD: v2.100.0-dirty

Reply via email to