Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
RogerVR

I'm Doom (Can't compile with MSVS2017 Windows 10)

Recommended Posts

Hello Everybody!: I'm RogerVR and I'm a Video game designer. Since I started studying video game engines I wanted to know how to intervene from their programming these softwares, such as DOOM. This is my first post created on this forum, and I do not want to be a trouble to you, but I really need your help. A few weeks ago I started trying to create my own mods, but the result is the following:


I followed this tutorial step by step: 



But I have the following errors and warnings that I really do not know what their origin is.

 

Spoiler

Severity Code Description Project File Line Suppression State
Error (active) E0020 identifier "SDL_SCANCODE_RCTRL" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 496 
Error C1083 Cannot open include file: 'SDL_filesystem.h': No such file or directory Doom c:\chocolate-doom-sdl2-branch\src\m_config.c 28 
Error C1083 Cannot open source file: '..\src\i_scale.c': No such file or directory Doom C:\chocolate-doom-sdl2-branch\msvc\c1 1 
Error C2039 'wheel': is not a member of 'SDL_Event' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 619 
Error C2039 'text': is not a member of 'SDL_Event' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 645 
Error C2039 'window': is not a member of 'SDL_Event' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 453 
Error C2039 'window': is not a member of 'SDL_Event' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 455 
Error C2051 case expression not constant libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 618 
Error C2051 case expression not constant libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 641 
Error C2051 case expression not constant Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 432 
Error C2051 case expression not constant Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 452 
Error C2054 expected '(' to follow 'wheel' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 561 
Error C2054 expected '(' to follow 'event' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 306 
Error C2054 expected '(' to follow 'sym' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 370 
Error C2059 syntax error: ';' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 491 
Error C2059 syntax error: ')' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 491 
Error C2059 syntax error: '}' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 519 
Error C2059 syntax error: ')' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 560 
Error C2059 syntax error: ')' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 305 
Error C2059 syntax error: ')' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 369 
Error C2061 syntax error: identifier 'scancode' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 491 
Error C2065 'SDL_DisplayMode': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 167 
Error C2065 'desktop_info': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 167 
Error C2065 'desktop_info': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 185 
Error C2065 'desktop_info': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 196 
Error C2065 'SDL_WINDOW_ALLOW_HIGHDPI': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 246 
Error C2065 'SDL_WINDOWPOS_UNDEFINED': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 250 
Error C2065 'SDL_WINDOW_ALLOW_HIGHDPI': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 262 
Error C2065 'SDL_Texture': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 407 
Error C2065 'screentx': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 407 
Error C2065 'SDL_HINT_RENDER_SCALE_QUALITY': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 430 
Error C2065 'screentx': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 434 
Error C2065 'screentx': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 438 
Error C2065 'screentx': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 441 
Error C2065 'SDL_MOUSEWHEEL': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 618 
Error C2065 'SDL_TEXTINPUT': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 641 
Error C2065 'SDL_Keymod': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 673 
Error C2065 'state': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 673 
Error C2065 'state': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 675 
Error C2065 'state': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 680 
Error C2065 'state': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 682 
Error C2065 'state': undeclared identifier libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 684 
Error C2065 'SDL_WINDOW_FULLSCREEN_DESKTOP': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 394 
Error C2065 'SDL_MOUSEWHEEL': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 432 
Error C2065 'SDL_WINDOWEVENT': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 452 
Error C2065 'SDL_RendererInfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 536 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 536 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 543 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 549 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 553 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 558 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 559 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 563 
Error C2065 'rinfo': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 598 
Error C2065 'SDL_HINT_RENDER_SCALE_QUALITY': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 672 
Error C2065 'SDL_TEXTUREACCESS_TARGET': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 676 
Error C2065 'SDL_WINDOW_FULLSCREEN_DESKTOP': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 704 
Error C2065 'SDL_WINDOWPOS_UNDEFINED': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1125 
Error C2065 'SDL_WINDOWPOS_UNDEFINED': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1138 
Error C2065 'SDL_DisplayMode': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1149 
Error C2065 'mode': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1149 
Error C2065 'SDL_WINDOW_RESIZABLE': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1156 
Error C2065 'SDL_WINDOW_ALLOW_HIGHDPI': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1160 
Error C2065 'SDL_WINDOW_FULLSCREEN_DESKTOP': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1169 
Error C2065 'SDL_WINDOW_FULLSCREEN': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1175 
Error C2065 'SDL_RENDERER_TARGETTEXTURE': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1206 
Error C2065 'mode': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1208 
Error C2065 'mode': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1215 
Error C2065 'SDL_RENDERER_PRESENTVSYNC': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1217 
Error C2065 'SDL_RENDERER_SOFTWARE': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1222 
Error C2065 'SDL_HINT_RENDER_SCALE_QUALITY': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1290 
Error C2065 'SDL_TEXTUREACCESS_STREAMING': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1298 
Error C2065 'SDL_MESSAGEBOX_ERROR': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_system.c 315 
Error C2065 'SDL_JoystickGUID': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 115 
Error C2065 'guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 115 
Error C2065 'dev_guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 115 
Error C2065 'guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 118 
Error C2065 'dev_guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 125 
Error C2065 'guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 126 
Error C2065 'dev_guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 126 
Error C2065 'SDL_JoystickGUID': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 126 
Error C2065 'dev_guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 135 
Error C2065 'guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 136 
Error C2065 'dev_guid': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 136 
Error C2065 'SDL_JoystickGUID': undeclared identifier Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 136 
Error C2143 syntax error: missing '{' before '*' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 54 
Error C2143 syntax error: missing '{' before '*' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 57 
Error C2143 syntax error: missing ')' before '*' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 560 
Error C2143 syntax error: missing '{' before '*' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 560 
Error C2143 syntax error: missing '{' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 53 
Error C2143 syntax error: missing '{' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 54 
Error C2143 syntax error: missing '{' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 69 
Error C2143 syntax error: missing '{' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 70 
Error C2143 syntax error: missing ')' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 305 
Error C2143 syntax error: missing '{' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 305 
Error C2143 syntax error: missing ')' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 369 
Error C2143 syntax error: missing '{' before '*' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 369 
Error C2146 syntax error: missing ';' before identifier 'desktop_info' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 167 
Error C2146 syntax error: missing ')' before identifier 'scancode' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 491 
Error C2146 syntax error: missing ';' before identifier 'state' libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 673 
Error C2146 syntax error: missing ';' before identifier 'rinfo' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 536 
Error C2146 syntax error: missing ';' before identifier 'mode' Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1149 
Error C2146 syntax error: missing ';' before identifier 'guid' Doom c:\chocolate-doom-sdl2-branch\src\i_joystick.c 115 
Error C2224 left of '.w' must have struct/union type libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 196 
Error C2224 left of '.h' must have struct/union type libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 196 
Error C2224 left of '.max_texture_width' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 549 
Error C2224 left of '.max_texture_height' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 553 
Error C2224 left of '.max_texture_width' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 558 
Error C2224 left of '.max_texture_height' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 559 
Error C2224 left of '.max_texture_width' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 563 
Error C2224 left of '.max_texture_height' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 563 
Error C2224 left of '.max_texture_width' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 598 
Error C2224 left of '.max_texture_height' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 598 
Error C2224 left of '.refresh_rate' must have struct/union type Doom c:\chocolate-doom-sdl2-branch\src\i_video.c 1215 
Error C2449 found '{' at file scope (missing function header?) libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 492 
Error (active) E0020 identifier "SDL_Window" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 54 
Error (active) E0020 identifier "SDL_Renderer" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 57 
Error (active) E0020 identifier "CODE_PAGE_TO_UNICODE" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 86 
Error (active) E0020 identifier "LOGPIXELSX" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 125 
Error (active) E0020 identifier "SDL_DisplayMode" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 167 
Error (active) E0020 identifier "SDL_WINDOW_ALLOW_HIGHDPI" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 246 
Error (active) E0020 identifier "SDL_WINDOWPOS_UNDEFINED" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 250 
Error (active) E0020 identifier "SDL_WINDOW_ALLOW_HIGHDPI" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 262 
Error (active) E0020 identifier "SDL_Texture" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 407 
Error (active) E0020 identifier "screentx" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 407 
Error (active) E0020 identifier "SDL_HINT_RENDER_SCALE_QUALITY" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 430 
Error (active) E0020 identifier "SDL_Scancode" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 491 
Error (active) E0020 identifier "SDL_SCANCODE_LCTRL" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 495 
Error (active) E0020 identifier "SDL_SCANCODE_LSHIFT" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 499 
Error (active) E0020 identifier "SDL_SCANCODE_RSHIFT" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 500 
Error (active) E0020 identifier "SDL_SCANCODE_LALT" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 503 
Error (active) E0020 identifier "SDL_SCANCODE_RALT" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 506 
Error (active) E0020 identifier "SDL_Keysym" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 521 
Error (active) E0020 identifier "SDL_MouseWheelEvent" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 561 
Error (active) E0020 identifier "SDL_MOUSEWHEEL" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 619 
Error (active) E0020 identifier "SDL_TEXTINPUT" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 642 
Error (active) E0020 identifier "SDL_Keymod" is undefined libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 674 
Error (active) E0136 union "SDL_Event" has no field "wheel" libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 620 
Error (active) E0136 union "SDL_Event" has no field "text" libtextscreen c:\chocolate-doom-sdl2-branch\textscreen\txt_sdl.c 646 
 



Could you guide me and help me a little?

 

I have Windows 10 last update sept2017 and Visual Studio 2017 with the SDK for Windows 10 and 8.1

 

Thanks! And I will be very attentive to your reply! :D

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×