I tried to import a C file, that includes GLFW, in "test.nim", like this but I 
fail.
    
    
    nim c --passC: '`pkg-config glfw3 --static --cflags --libs`' test.nim
    
    

before that the .o file is created succesfully, like this.
    
    
    gcc -Wall -c test.c -I.
    
    

All GLFW symbols in the C file are "undefined references". I tried to build in 
full C (with à "main()"), this "pkg-config" works fine. Did I miss something ?

Reply via email to