Replies: 1 comment 1 reply
-
There have been some updates in how CMake is used since 3.0. I'd recommend checking out the CMAke example proejct at https://github.com/raysan5/raylib/tree/master/projects/CMake . |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I am quite new to Raylib, and I have been going through some of the examples and tutorials. I wanted to try out some examples in 3d, and I tried copying the code from "3d_camera_first_person" (link: https://github.com/raysan5/raylib/blob/master/examples/core/core_3d_camera_first_person.c). However I can't figure out how to import the header file correctly and I keep getting an error in VScode that says "cannot open source file rcamera.h":
I am working in macOS and I have configured my VScode using this tutorial: https://github.com/raysan5/raylib/wiki/Using-raylib-in-VSCode, which removed the red squiggly lines for the
#include "raylib.h"
line. However i still get the above mentioned error for the line#include "rcamera.h"
**I use cmake to build
And my cmake file is:
Any help would be appreciated on how I can get the red squiggly lines to dissapear. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions