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
- Why the range of int is -32768 to 32767?
- Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio
- ‘cannot find or open the pdb file’ Visual Studio C++ 2013
- Unity OnTriggerEnter2D not registering
- What’s the difference between Visual Studio Community and other, paid versions?
- Difference between ‘strcpy’ and ‘strcpy_s’?
- wntdll.pdb not loaded – Can’t see the exception
- Visual Studio /**/ comment shortcut?
- Cannot open include file: ‘stdio.h’ – Visual Studio Community 2017 – C++ Error
- Exception Error c0000005 in VC++
- Visual Studio debugger error: Unable to start program Specified file cannot be found
- 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?
- Can’t use System.Windows.Forms
- 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?
- Microsoft Visual C++ 9.0 is required
- 8 queens puzzle with user input c++
- Visual Studio: The Operation could not be completed. The parameter is incorrect
- Error C1083: Cannot open include file: ‘stdafx.h’
- C# – How to convert string to char?
- How to keep the console window open in Visual C++?
- Nuget connection attempt failed “Unable to load the service index for source”
- “The system cannot find the file specified” when running C++ program
- Cannot open Windows.h in Microsoft Visual Studio
- What is the purpose of the vshost.exe file?
- error C2601: ‘main’ : local function definitions are illegall – MS VS 2013 Compiler
- cin.eof() functionality
- error LNK2019: unresolved external symbol “” referenced in function
- Proper way to rename solution (and directories) in Visual Studio
- Visual Studio Cannot Open File
- LPCSTR, LPCTSTR and LPTSTR
- C# Debug – cannot start debugging because the debug target is missing
- The name ‘ViewBag’ does not exist in the current context – Visual Studio 2015
- Does WPF Work with C++?
- Differences between Commit, Commit and Push, Commit and Sync
- Unity 5.2.2 changing Visual Studio back to MonoDevelop
- Go To Definition: “Cannot navigate to the symbol under the caret.”
- How to solve “Microsoft Visual Studio (VS)” error “Unable to connect to the configured development Web server”