You need to check your project settings, under C++, check include directories and make sure it points to where GameEngine.h
resides, the other issue could be that GameEngine.h
is not in your source file folder or in any include directory and resides in a different folder relative to your project folder. For instance you have 2 projects ProjectA
and ProjectB
, if you are including GameEngine.h
in some source/header file in ProjectA
then to include it properly, assuming that ProjectB
is in the same parent folder do this:
include "../ProjectB/GameEngine.h"
This is if you have a structure like this:
Root\ProjectA
Root\ProjectB <- GameEngine.h actually lives here
Related Posts:
- What are the differences between Visual Studio Code and Visual Studio?
- What are the differences between Visual Studio Code and Visual Studio?
- How to download Visual Studio Community Edition 2017 (not 2019)
- How to download Visual Studio Community Edition 2015 (not 2017)
- Unresolved external symbol in object files
- Unresolved external symbol in object files
- How do you auto format code in Visual Studio?
- How to declare a global variable in C++
- What is “stdafx.h” used for in Visual Studio?
- Windows 7 exception code: 0xc0000409
- Visual Studio doesn’t see Team Explorer
- Visual Studio error “Object reference not set to an instance of an object” after install of ASP.NET and Web Tools 2015
- How do I install a NuGet package .nupkg file locally?
- VC++ fatal error LNK1168: cannot open filename.exe for writing
- Cannot Connect to Server – A network-related or instance-specific error
- An error occurred while signing: SignTool.exe not found
- VC++ fatal error LNK1168: cannot open filename.exe for writing
- How to fix “Root element is missing.” when doing a Visual Studio (VS) Build?
- Check in / Check out in subversion
- C++ cannot open source file
- Why Visual Studio 2015 can’t run exe file (ucrtbased.dll)?
- LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Cannot open Visual Studio – throw error ‘cannot run when setup is in progress’
- Stuck while installing Visual Studio 2015 (Update for Microsoft Windows (KB2999226))
- Fresh installed Visual Studio 2017 won’t create C++ project with error 0x80041fe2
- This project references NuGet package(s) that are missing on this computer
- LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Source information missing from the debug information for this module – PDB successfully loaded
- Win32 Console Application
- LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Visual Studio – vdproj is incompatible
- Are Visual Studio 2017 Build Tools still available for download?
- What is vshub.exe in the system tray?
- serviceHub.Host.CLR.x86 taking a lot of memory and CPC
- Visual Studio Project vs. Solution
- Preventing console window from closing on Visual Studio C/C++ Console application
- Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt’ after installing Visual Studio 2012 Release Preview
- What does Visual Studio mean by normalize inconsistent line endings?
- Visual Studio compiles but the exe isn’t there
- Visual Studio 2015 Intellisense not working
- Is there a list of Visual Studio environment variables? [duplicate]
- “Are you missing an assembly reference?” compile error – Visual Studio
- Error HRESULT E_FAIL has been returned from a call to a COM component VS2012 when debugging
- The project type is not supported by this installation
- How do I open a Visual Studio project in design view?
- error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
- Download c++ in existing visual studio 2017
- Visual Studio not displaying compile time errors in editor
- XML schema error – root element of a w3c xml schema
- Web Developer Tools option must be installed
- module unsafe for SAFESEH image C++
- LINK : fatal error LNK1104: cannot open file ‘D:\…\MyProj.exe’
- Unable to launch the IIS Express Web server
- How can I rename a project folder from within Visual Studio?
- Visual studio Express Edition vs Community
- Visual Studio: Add existing folder(s) to project
- Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
- Signing out from TFS and sign in with new credentials
- How to install Visual C++ Build tools?
- Why the range of int is -32768 to 32767?
- How to use _CRT_SECURE_NO_WARNINGS
- Error : Could not load file or assembly or one of it’s dependencies
- Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio
- Awesomium sdk download
- What is C# equivalent of
- ‘cannot find or open the pdb file’ Visual Studio C++ 2013
- What are the differences between Visual Studio Code and Visual Studio?
- Unity OnTriggerEnter2D not registering
- What’s the difference between Visual Studio Community and other, paid versions?
- Configuration System Failed to Initialize
- What does purpose use #ifdef and #if in C++
- Difference between ‘strcpy’ and ‘strcpy_s’?
- How to add a default Default.aspx to a ASP.NET Web Application Project?
- Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
- Installation of MySQL for Visual Studio 1.2.8 failed
- wntdll.pdb not loaded – Can’t see the exception
- wntdll.pdb not loaded – Can’t see the exception
- Visual Studio /**/ comment shortcut?
- Command to collapse all sections of code?
- Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error
- Exception Error c0000005 in VC++
- Missing vc_runtimeminimum_x86.msi and installation won’t work
- Visual Studio debugger error: Unable to start program Specified file cannot be found
- The #include
exists, but I get an error: identifier “cout” is undefined. Why? - How do I clear a C++ array?
- How to remove error about glyphicons-halflings-regular.woff2 not found
- “Error while trying to run project: Unable to start program”. Can run program only once. Then VS needs restart
- Identifier is undefined
- Why does fatal error “LNK1104: cannot open file ‘C:\Program.obj'” occur when I compile a C++ project in Visual Studio?
- WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’. Please add a ScriptResourceMapping named jquery(case-sensitive)
- Can’t use System.Windows.Forms
- Visual C++ find line causing “Debug Assertion failed”
- What installed Windows Kits
- How do I create a Shared Code project (.shproj)
- Can’t Add View from Controller in VS 2015 : “There was an error running the selected code generator”
- How do I fix the indentation of selected lines in Visual Studio
- How do I remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?
- How to determine if a string is a number with C++?
- Microsoft Visual C++ 9.0 is required
- Visual C++ executable and missing MSVCR100d.dll