0

I tried compiling a Visual Studio project today, and it gives me "Identifier not Found" errors, I have changed nothing since yesterday, I've tried cleaning, restarting my PC, copying the files to a new project, and they always give me the same errors, as seen in the screenshot below, the editor itself does not detect any errors.

(sorry if this is a noob question)

VS screenshot

Output log if it's any help:

Warning C4244   '=': conversion from 'int' to 'float', possible loss of data    Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\enemies\fakeDoge\fakeDoge.h    101 
Error   C3861   'Draw': identifier not found    Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\SpriteComponent.h  140 
Error   C3861   'loadTexture': identifier not found Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\SpriteComponent.h  95  
Error   C3861   'loadTexture': identifier not found Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\oldManBugs.h   17  
Error   C3861   'loadTexture': identifier not found Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\oldManBugs.h   18  
Error   C3861   'loadTexture': identifier not found Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\enemies\fakeDoge\fakeDoge.h    25  
Error   C3861   'loadTexture': identifier not found Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\enemies\fakeDoge\fakeDoge.h    26  
Error   C3861   'loadTexture': identifier not found Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\enemies\fakeDoge\fakeDoge.h    27  
Error   C3861   'loadTexture': identifier not found Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\ColliderComponent.h    41  
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\SpriteComponent.h  95  
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\SpriteComponent.h  140 
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\oldManBugs.h   17  
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\oldManBugs.h   18  
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\enemies\fakeDoge\fakeDoge.h    25  
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\enemies\fakeDoge\fakeDoge.h    26  
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\enemies\fakeDoge\fakeDoge.h    27  
Error   C2653   'TextureManager': is not a class or namespace name  Doge Shooter    D:\Programming\Doge Shooter\Doge Shooter\ecs\ColliderComponent.h    41  ```


acraig5075
  • 10,588
  • 3
  • 31
  • 50
BBQDev
  • 1
  • 1
  • 1
    These are all compiler errors. We need a [mre] that includes the code that won't compile. – 1201ProgramAlarm Jan 18 '20 at 03:34
  • Looks like you are missing an include for the header of your `TextureManager` class. – drescherjm Jan 18 '20 at 05:47
  • Maybe you have a circular include path where 2 or more headers are including each other. [https://stackoverflow.com/questions/625799/resolve-build-errors-due-to-circular-dependency-amongst-classes](https://stackoverflow.com/questions/625799/resolve-build-errors-due-to-circular-dependency-amongst-classes) – drescherjm Jan 18 '20 at 05:49

0 Answers0