Undefined reference to any Raylib function

Hi, I tried rebuilding any of these projects recently after completing them about a year back, but now when I run them, I get these errors spitting out in the terminal:

C:\raylib\w64devkit\bin/ld.exe: C:\Users<my user>\AppData\Local\Temp\ccGaavPW.o: in function main': C:\Users\<my user>\Downloads\vscode-template-main/main.cpp:18: undefined reference to InitWindow’

and just about any other raylib function. I’m not sure where to even begin with this, but would greatly appreciate the help!

Hello,

Apologies for the late reply. Just to confirm, are you using either Build Debug or Build Release from out template? Also, would it be possible to show the full terminal when the error occurs?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms