Hi,
I try to compile a simple test project in VSCode on a mac. This project use the raylib library.
Here is the code:
#include “raylib.h”
int main()
{
InitWindow(250,250,“fred”);
}
an here is the response in my terminal:
[main.cpp 2023-02-06 11:17:56.927]
,Undefined symbols for architecture x86_64:
“_InitWindow”, referenced from:
_main in main-40bd3c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I’ve searched to solve but can’t find anything.
Could you help me. Thanks