Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 699

VisualStudio cannot open include file [closed]

$
0
0

Why am I getting this error?1

#pragma once#define GLFW_INCLUDE_VULKAN#include <GLFW/glfw3.h>namespace vge{    class HelloTriangle    {        private:        GLFWwindow* window;        public:        void run();        private:        void initWindow();        void initVulkan();        void mainLoop();        void cleanup();    };}

This is my project folder - the solution file (and Vendor/glm) is up one directory.2

Inside Source3

Inside Vendor/glfw/include/GLFW4567

Project properties89

I want to include the glfw3.h header to access all the GLFW stuff - I get this error instead.

I've tried changing Additional Dependencies in both the C/C++ and Librarian tabs of the project properties. I've tried including glfw3.h in the cpp file instead. Sometimes I get different errors, but it never works.


Viewing all articles
Browse latest Browse all 699

Trending Articles