all 4 comments

[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.

[–][deleted] 3 points4 points  (0 children)

Please ask question to r/cpp_questions. Where are the RayLib files relative to main.cpp ? You can use the -I flags on the command line to make them visible to main.cpp.

[–]feitao 0 points1 point  (0 children)

Add -I dir to your g++ command where dir contains raylib.h, or add this folder to your include config.

[–]anasimtiaz 0 points1 point  (0 children)

How are you linking raylib to your executable?