Jump to content

PrBoom+ 2.6.66 (Jun 20, 2023)


fabian

Recommended Posts

3 hours ago, T.Will said:

I tried to build Prboom on MSYS2 but cmake cannot find the libraries and include directories. I tried again on the gui CMake and pathed them, but it still couldn't build properly. 

image.png

 

Three points to consider:

1) Run Cmake from the dir where CMakeLists.txt is (should be /prboom2 in your case), not from the /build subdir (which is for running make from). Delete CMakeCache.txt from the latter first.

2) Use the -G"MSYS Makefiles" cmdline parameter. E.g. the full command line I used is

# cmake -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -S . -B ./build

3) Cmake is up to v3.19.2; run pacman to update.

Edited by Never_Again
added quote, as the answer in on a new page now

Share this post


Link to post
2 hours ago, Never_Again said:

 

Three points to consider:

1) Run Cmake from the dir where CMakeLists.txt is (should be /prboom2 in your case), not from the /build subdir (which is for running make from). Delete CMakeCache.txt from the latter first.

2) Use the -G"MSYS Makefiles" cmdline parameter. E.g. the full command line I used is


# cmake -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -S . -B ./build

 3) Cmake is up to v3.19.2; run pacman to update.

I used all three points and this happened. Sorry if the issue seems rudimentary. 

image.png.a055fe7e11bf781695d3ac25f9630b8c.png

Share this post


Link to post

If config.h is missing from the /build subdir that means the Cmake config didn't complete successfully. Delete the /build subdir and rerun Cmake as mentioned above. Then run make from the newly re-created /build.

 

Here is for reference a complete MSYS2 log, from starting the terminal to build completion. The colors don't match but do note the commands used.

edit: log removed as no longer necessary

Edited by Never_Again
log removed

Share this post


Link to post

I followed everything to a T. CMake did everything right and got a config.h. But when I enter make, I still get same fatal error. In both MinGW32 & MinGW64.

 

Spoiler

image.png.815b0b021eb5d800003b2b9338f5e98b.png

 

Spoiler

Admin@DESKTOP-MHOSR49 MINGW64 ~
# pacman -Syuu
:: Synchronizing package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
 there is nothing to do

Admin@DESKTOP-MHOSR49 MINGW64 ~
# cd prboom-plus/prboom2

Admin@DESKTOP-MHOSR49 MINGW64 ~/prboom-plus/prboom2
# cmake -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -S . -B ./build
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for stricmp
-- Looking for stricmp - found
-- Looking for strnicmp
-- Looking for strnicmp - found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for mmap
-- Looking for mmap - not found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for strsignal
-- Looking for strsignal - not found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for asm/byteorder.h
-- Looking for asm/byteorder.h - not found
-- Found OpenGL: opengl32
-- Found SDL2: C:/msys64/mingw64/lib/libSDL2.dll.a (found version "2.0.12")
CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSDL2.cmake:298 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:77 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2main: C:/msys64/mingw64/lib/libSDL2main.a (found version "2.0.12")
CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSDL2.cmake:298 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/FindSDL2_image.cmake:114 (find_package)
  CMakeLists.txt:81 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_image: C:/msys64/mingw64/lib/libSDL2_image.dll.a (found version "2.0.5")
CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSDL2.cmake:298 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/FindSDL2_mixer.cmake:112 (find_package)
  CMakeLists.txt:89 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_mixer: C:/msys64/mingw64/lib/libSDL2_mixer.dll.a (found version "2.0.4")
CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2main)
  does not match the name of the calling package (SDL2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSDL2.cmake:298 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/FindSDL2_net.cmake:114 (find_package)
  CMakeLists.txt:97 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_net: C:/msys64/mingw64/lib/libSDL2_net.dll.a (found version "2.0.1")
-- Found PCREPOSIX: C:/msys64/mingw64/lib/libpcreposix.dll.a
CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (PCRE) does
  not match the name of the calling package (PCREPOSIX).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindPCREPOSIX.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:106 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PCRE: C:/msys64/mingw64/lib/libpcre.dll.a
-- Found ZLIB: C:/msys64/mingw64/lib/libz.dll.a (found version "1.2.11")
-- Found LibMad: C:/msys64/mingw64/lib/libmad.dll.a
-- Found FluidSynth: C:/msys64/mingw64/lib/libfluidsynth.dll.a
-- Found Dumb: C:/msys64/mingw64/lib/libdumb.dll.a
-- Found Ogg: C:/msys64/mingw64/lib/libogg.dll.a
-- Found Vorbis: C:/msys64/mingw64/lib/libvorbis.dll.a
-- Found PortMidi: C:/msys64/mingw64/lib/libportmidi.dll.a
-- Looking for SDL_JoystickGetAxis
-- Looking for SDL_JoystickGetAxis - found
-- Configuring done
-- Generating done
-- Build files have been written to: C:/msys64/home/Admin/prboom-plus/prboom2/build

Admin@DESKTOP-MHOSR49 MINGW64 ~/prboom-plus/prboom2
# cd build

Admin@DESKTOP-MHOSR49 MINGW64 ~/prboom-plus/prboom2/build
# make -j 8
Scanning dependencies of target rdatawad
Scanning dependencies of target prboom-plus-game-server
[  0%] Building C object data/CMakeFiles/rdatawad.dir/rd_main.c.obj
[  0%] Building C object data/CMakeFiles/rdatawad.dir/rd_util.c.obj
[  1%] Building C object data/CMakeFiles/rdatawad.dir/rd_output.c.obj
[  1%] Building C object data/CMakeFiles/rdatawad.dir/rd_sound.c.obj
[  2%] Building C object data/CMakeFiles/rdatawad.dir/rd_palette.c.obj
[  2%] Building C object data/CMakeFiles/rdatawad.dir/rd_graphic.c.obj
[  2%] Building C object src/CMakeFiles/prboom-plus-game-server.dir/d_server.c.obj
[  2%] Building C object src/CMakeFiles/prboom-plus-game-server.dir/SDL/i_network.c.obj
[  3%] Building C object src/CMakeFiles/prboom-plus-game-server.dir/POSIX/i_system.c.obj
[  4%] Linking C executable rdatawad.exe
[  4%] Built target rdatawad
Scanning dependencies of target prboomwad
[  5%] Generating ../prboom-plus.wad
[  5%] Built target prboomwad
[  5%] Linking C executable ../prboom-plus-game-server.exe
[  5%] Built target prboom-plus-game-server
Scanning dependencies of target prboom-plus
[  5%] Building C object src/CMakeFiles/prboom-plus.dir/am_map.c.obj
[  6%] Building C object src/CMakeFiles/prboom-plus.dir/doomdef.c.obj
[  6%] Building C object src/CMakeFiles/prboom-plus.dir/doomstat.c.obj
[  7%] Building C object src/CMakeFiles/prboom-plus.dir/dstrings.c.obj
[  7%] Building C object src/CMakeFiles/prboom-plus.dir/d_deh.c.obj
[  7%] Building C object src/CMakeFiles/prboom-plus.dir/d_items.c.obj
[  8%] Building C object src/CMakeFiles/prboom-plus.dir/d_main.c.obj
Scanning dependencies of target glboom-plus
C:/msys64/home/Admin/prboom-plus/prboom2/src/d_deh.c: In function 'deh_procStrings':
C:/msys64/home/Admin/prboom-plus/prboom2/src/d_deh.c:2844:60: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
 2844 |                              "* increased buffer from to %ld for buffer size %d\n",
      |                                                          ~~^
      |                                                            |
      |                                                            long int
      |                                                          %lld
 2845 |                              maxstrlen,(int)strlen(inbuffer));
      |                              ~~~~~~~~~
      |                              |
      |                              size_t {aka long long unsigned int}
[  8%] Building C object src/CMakeFiles/prboom-plus.dir/e6y.c.obj
[  9%] Building C object src/CMakeFiles/prboom-plus.dir/f_finale.c.obj
[  9%] Building C object src/CMakeFiles/prboom-plus.dir/f_finale2.c.obj
[  9%] Building C object src/CMakeFiles/prboom-plus.dir/f_wipe.c.obj
[  9%] Building C object src/CMakeFiles/glboom-plus.dir/am_map.c.obj
[ 10%] Building C object src/CMakeFiles/prboom-plus.dir/g_game.c.obj
[ 10%] Building C object src/CMakeFiles/prboom-plus.dir/g_overflow.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c: In function 'e6y_WriteStats':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:975:62: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  975 |       "%%s - %%%dd:%%05.2f (%%%dd:%%02d)  K: %%%dd/%%-%dd%%%lds  I: %%%dd/%%-%dd%%%lds  S: %%%dd/%%-%dd %%%lds\r\n",
      |                                                            ~~^
      |                                                              |
      |                                                              long int
      |                                                            %lld
  976 |       max.stat[TT_TIME],      max.stat[TT_TOTALTIME],
  977 |       max.stat[TT_ALLKILL],   max.stat[TT_TOTALKILL],   allkills_len,
      |                                                         ~~~~~~~~~~~~
      |                                                         |
      |                                                         size_t {aka long long unsigned int}
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:975:85: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  975 |       "%%s - %%%dd:%%05.2f (%%%dd:%%02d)  K: %%%dd/%%-%dd%%%lds  I: %%%dd/%%-%dd%%%lds  S: %%%dd/%%-%dd %%%lds\r\n",
      |                                                                                   ~~^
      |                                                                                     |
      |                                                                                     long int
      |                                                                                   %lld
......
  978 |       max.stat[TT_ALLITEM],   max.stat[TT_TOTALITEM],   allitems_len,
      |                                                         ~~~~~~~~~~~~    
      |                                                         |
      |                                                         size_t {aka long long unsigned int}
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:975:109: warning: format '%ld' expects argument of type 'long int', but argument 13 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  975 |       "%%s - %%%dd:%%05.2f (%%%dd:%%02d)  K: %%%dd/%%-%dd%%%lds  I: %%%dd/%%-%dd%%%lds  S: %%%dd/%%-%dd %%%lds\r\n",
      |                                                                                                           ~~^
      |                                                                                                             |
      |                                                                                                             long int
      |                                                                                                           %lld
......
  979 |       max.stat[TT_ALLSECRET], max.stat[TT_TOTALSECRET], allsecrets_len);
      |                                                         ~~~~~~~~~~~~~~  
      |                                                         |
      |                                                         size_t {aka long long unsigned int}
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c: In function 'PathFindFileName':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:1134:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1134 |   return (char*)pT;
      |          ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c: In function 'I_midiOutSetVolumes':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:1330:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1330 |         midiOutSetVolume((HMIDIOUT)i, MAKELONG(calcVolume, calcVolume));
      |                          ^
[ 11%] Building C object src/CMakeFiles/prboom-plus.dir/hu_lib.c.obj
[ 11%] Building C object src/CMakeFiles/prboom-plus.dir/hu_stuff.c.obj
[ 12%] Building C object src/CMakeFiles/prboom-plus.dir/hu_tracers.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c: In function 'G_BeginRecording':
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c:3235:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 3235 |       int mapname_len = strnlen(gamemapinfo ? gamemapinfo->mapname : mapname, 9);
      |       ^~~
[ 12%] Building C object src/CMakeFiles/prboom-plus.dir/info.c.obj
[ 12%] Building C object src/CMakeFiles/prboom-plus.dir/i_capture.c.obj
[ 13%] Building C object src/CMakeFiles/prboom-plus.dir/i_pcsound.c.obj
[ 13%] Building C object src/CMakeFiles/prboom-plus.dir/lprintf.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_widget_build_armor':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:1546:14: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1546 |   w_armor.cm = HU_GetArmorColor(armor, CR_BLUE);
      |   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 14%] Building C object src/CMakeFiles/prboom-plus.dir/md5.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_widget_build_armor_big':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:1576:20: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1576 |     w_armor_big.cm = HU_GetArmorColor(armor, CR_BLUE2);
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_widget_build_armor_percent':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:2079:26: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2079 |       w_armor_percent.cm = HU_GetArmorColor(armor, CR_BLUE2);
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 14%] Building C object src/CMakeFiles/prboom-plus.dir/m_argv.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_GetArmorColor':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:1276:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1276 |   return result;
      |          ^~~~~~
[ 14%] Building C object src/CMakeFiles/prboom-plus.dir/m_bbox.c.obj
[ 15%] Building C object src/CMakeFiles/prboom-plus.dir/m_cheat.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_cheat.c: In function 'cheat_clev':
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_cheat.c:390:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  390 |   struct MapEntry* entry = G_LookupMapinfo(epsd, map);
      |   ^~~~~~
[ 15%] Building C object src/CMakeFiles/prboom-plus.dir/m_menu.c.obj
[ 15%] Building C object src/CMakeFiles/glboom-plus.dir/doomdef.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c: In function 'G_ReadDemoHeaderEx':
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c:3996:7: warning: 'map' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3996 |       G_InitNew(skill, episode, map);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c:3996:7: warning: 'episode' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c: In function 'my_popen3':
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c:243:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  243 |   if (NULL == (fin = _fdopen (_open_osfhandle ((int) parent_hin, 0), "wb")))
      |                                                ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c:245:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  245 |   if (NULL == (fout = _fdopen (_open_osfhandle ((int) parent_hout, 0), "r")))
      |                                                 ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c:247:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  247 |   if (NULL == (ferr = _fdopen (_open_osfhandle ((int) parent_herr, 0), "r")))
      |                                                 ^
[ 16%] Building C object src/CMakeFiles/prboom-plus.dir/m_misc.c.obj
[ 16%] Building C object src/CMakeFiles/prboom-plus.dir/m_random.c.obj
[ 17%] Building C object src/CMakeFiles/glboom-plus.dir/doomstat.c.obj
[ 17%] Building C object src/CMakeFiles/prboom-plus.dir/p_ceilng.c.obj
[ 18%] Building C object src/CMakeFiles/prboom-plus.dir/p_checksum.c.obj
[ 18%] Building C object src/CMakeFiles/prboom-plus.dir/p_doors.c.obj
[ 18%] Building C object src/CMakeFiles/glboom-plus.dir/dstrings.c.obj
[ 19%] Building C object src/CMakeFiles/glboom-plus.dir/d_deh.c.obj
[ 19%] Building C object src/CMakeFiles/glboom-plus.dir/d_items.c.obj
[ 20%] Building C object src/CMakeFiles/prboom-plus.dir/p_enemy.c.obj
[ 20%] Building C object src/CMakeFiles/prboom-plus.dir/p_floor.c.obj
[ 21%] Building C object src/CMakeFiles/prboom-plus.dir/p_genlin.c.obj
[ 21%] Building C object src/CMakeFiles/prboom-plus.dir/p_inter.c.obj
[ 21%] Building C object src/CMakeFiles/glboom-plus.dir/d_main.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1146:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1146 |   {"launcher_history0", {NULL,&launcher_history[0]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1146:31: note: (near initialization for 'defaults[372].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1147:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1147 |   {"launcher_history1", {NULL,&launcher_history[1]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1147:31: note: (near initialization for 'defaults[373].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1148:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1148 |   {"launcher_history2", {NULL,&launcher_history[2]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1148:31: note: (near initialization for 'defaults[374].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1149:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1149 |   {"launcher_history3", {NULL,&launcher_history[3]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1149:31: note: (near initialization for 'defaults[375].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1150:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1150 |   {"launcher_history4", {NULL,&launcher_history[4]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1150:31: note: (near initialization for 'defaults[376].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1151:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1151 |   {"launcher_history5", {NULL,&launcher_history[5]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1151:31: note: (near initialization for 'defaults[377].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1152:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1152 |   {"launcher_history6", {NULL,&launcher_history[6]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1152:31: note: (near initialization for 'defaults[378].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1153:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1153 |   {"launcher_history7", {NULL,&launcher_history[7]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1153:31: note: (near initialization for 'defaults[379].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1154:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1154 |   {"launcher_history8", {NULL,&launcher_history[8]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1154:31: note: (near initialization for 'defaults[380].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1155:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1155 |   {"launcher_history9", {NULL,&launcher_history[9]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1155:31: note: (near initialization for 'defaults[381].location.ppsz')
[ 21%] Building C object src/CMakeFiles/prboom-plus.dir/p_lights.c.obj
[ 22%] Building C object src/CMakeFiles/prboom-plus.dir/p_map.c.obj
[ 22%] Building C object src/CMakeFiles/prboom-plus.dir/p_maputl.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/d_deh.c: In function 'deh_procStrings':
C:/msys64/home/Admin/prboom-plus/prboom2/src/d_deh.c:2844:60: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
 2844 |                              "* increased buffer from to %ld for buffer size %d\n",
      |                                                          ~~^
      |                                                            |
      |                                                            long int
      |                                                          %lld
 2845 |                              maxstrlen,(int)strlen(inbuffer));
      |                              ~~~~~~~~~
      |                              |
      |                              size_t {aka long long unsigned int}
[ 23%] Building C object src/CMakeFiles/prboom-plus.dir/p_mobj.c.obj
[ 23%] Building C object src/CMakeFiles/prboom-plus.dir/p_plats.c.obj
[ 23%] Building C object src/CMakeFiles/prboom-plus.dir/p_pspr.c.obj
[ 24%] Building C object src/CMakeFiles/prboom-plus.dir/p_saveg.c.obj
[ 24%] Building C object src/CMakeFiles/prboom-plus.dir/p_setup.c.obj
[ 25%] Building C object src/CMakeFiles/prboom-plus.dir/p_sight.c.obj
[ 25%] Building C object src/CMakeFiles/prboom-plus.dir/p_spec.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/p_setup.c: In function 'P_LoadZNodes':
C:/msys64/home/Admin/prboom-plus/prboom2/src/p_setup.c:1149:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1149 |   data = W_CacheLumpNum(lump);
      |        ^
[ 25%] Building C object src/CMakeFiles/prboom-plus.dir/p_switch.c.obj
[ 26%] Building C object src/CMakeFiles/glboom-plus.dir/e6y.c.obj
[ 27%] Building C object src/CMakeFiles/prboom-plus.dir/p_telept.c.obj
[ 27%] Building C object src/CMakeFiles/glboom-plus.dir/f_finale.c.obj
[ 27%] Building C object src/CMakeFiles/prboom-plus.dir/p_tick.c.obj
[ 28%] Building C object src/CMakeFiles/prboom-plus.dir/p_user.c.obj
[ 28%] Building C object src/CMakeFiles/prboom-plus.dir/r_bsp.c.obj
[ 29%] Building C object src/CMakeFiles/prboom-plus.dir/r_data.c.obj
[ 29%] Building C object src/CMakeFiles/prboom-plus.dir/r_demo.c.obj
[ 29%] Building C object src/CMakeFiles/prboom-plus.dir/r_draw.c.obj
[ 30%] Building C object src/CMakeFiles/prboom-plus.dir/r_filter.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c: In function 'e6y_WriteStats':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:975:62: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  975 |       "%%s - %%%dd:%%05.2f (%%%dd:%%02d)  K: %%%dd/%%-%dd%%%lds  I: %%%dd/%%-%dd%%%lds  S: %%%dd/%%-%dd %%%lds\r\n",
      |                                                            ~~^
      |                                                              |
      |                                                              long int
      |                                                            %lld
  976 |       max.stat[TT_TIME],      max.stat[TT_TOTALTIME],
  977 |       max.stat[TT_ALLKILL],   max.stat[TT_TOTALKILL],   allkills_len,
      |                                                         ~~~~~~~~~~~~
      |                                                         |
      |                                                         size_t {aka long long unsigned int}
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:975:85: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  975 |       "%%s - %%%dd:%%05.2f (%%%dd:%%02d)  K: %%%dd/%%-%dd%%%lds  I: %%%dd/%%-%dd%%%lds  S: %%%dd/%%-%dd %%%lds\r\n",
      |                                                                                   ~~^
      |                                                                                     |
      |                                                                                     long int
      |                                                                                   %lld
......
  978 |       max.stat[TT_ALLITEM],   max.stat[TT_TOTALITEM],   allitems_len,
      |                                                         ~~~~~~~~~~~~    
      |                                                         |
      |                                                         size_t {aka long long unsigned int}
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:975:109: warning: format '%ld' expects argument of type 'long int', but argument 13 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  975 |       "%%s - %%%dd:%%05.2f (%%%dd:%%02d)  K: %%%dd/%%-%dd%%%lds  I: %%%dd/%%-%dd%%%lds  S: %%%dd/%%-%dd %%%lds\r\n",
      |                                                                                                           ~~^
      |                                                                                                             |
      |                                                                                                             long int
      |                                                                                                           %lld
......
  979 |       max.stat[TT_ALLSECRET], max.stat[TT_TOTALSECRET], allsecrets_len);
      |                                                         ~~~~~~~~~~~~~~  
      |                                                         |
      |                                                         size_t {aka long long unsigned int}
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c: In function 'PathFindFileName':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:1134:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1134 |   return (char*)pT;
      |          ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c: In function 'I_midiOutSetVolumes':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y.c:1330:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1330 |         midiOutSetVolume((HMIDIOUT)i, MAKELONG(calcVolume, calcVolume));
      |                          ^
[ 30%] Building C object src/CMakeFiles/prboom-plus.dir/r_fps.c.obj
[ 31%] Building C object src/CMakeFiles/prboom-plus.dir/r_main.c.obj
[ 31%] Building C object src/CMakeFiles/prboom-plus.dir/r_patch.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c: In function 'CheckWadBufIntegrity':
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:968:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  968 |     header = (wadinfo_t*)buffer;
      |              ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:978:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  978 |         fileinfo = (filelump_t*)(buffer + header->infotableofs);
      |                    ^
[ 32%] Building C object src/CMakeFiles/glboom-plus.dir/f_finale2.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c: In function 'W_AddLump.part.0':
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:338:5: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation]
  338 |     strncpy(wadtbl->lumps[lumpnum].name, name, 8);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'W_AddLump',
    inlined from 'W_AddLump' at C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:322:6:
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:338:5: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation]
  338 |     strncpy(wadtbl->lumps[lumpnum].name, name, 8);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 32%] Building C object src/CMakeFiles/prboom-plus.dir/r_plane.c.obj
[ 32%] Building C object src/CMakeFiles/glboom-plus.dir/f_wipe.c.obj
[ 33%] Building C object src/CMakeFiles/prboom-plus.dir/r_segs.c.obj
[ 33%] Building C object src/CMakeFiles/prboom-plus.dir/r_sky.c.obj
[ 34%] Building C object src/CMakeFiles/prboom-plus.dir/r_things.c.obj
[ 34%] Building CXX object src/CMakeFiles/prboom-plus.dir/scanner.cpp.obj
[ 34%] Building C object src/CMakeFiles/glboom-plus.dir/g_game.c.obj
[ 34%] Building C object src/CMakeFiles/prboom-plus.dir/sc_man.c.obj
[ 35%] Building C object src/CMakeFiles/prboom-plus.dir/sounds.c.obj
[ 35%] Building C object src/CMakeFiles/prboom-plus.dir/statdump.c.obj
[ 36%] Building C object src/CMakeFiles/glboom-plus.dir/g_overflow.c.obj
[ 37%] Building C object src/CMakeFiles/prboom-plus.dir/st_lib.c.obj
[ 37%] Building C object src/CMakeFiles/prboom-plus.dir/st_stuff.c.obj
[ 38%] Building C object src/CMakeFiles/prboom-plus.dir/s_advsound.c.obj
[ 38%] Building C object src/CMakeFiles/prboom-plus.dir/s_sound.c.obj
[ 38%] Building C object src/CMakeFiles/prboom-plus.dir/tables.c.obj
[ 39%] Building CXX object src/CMakeFiles/prboom-plus.dir/umapinfo.cpp.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c: In function 'G_BeginRecording':
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c:3235:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 3235 |       int mapname_len = strnlen(gamemapinfo ? gamemapinfo->mapname : mapname, 9);
      |       ^~~
[ 39%] Building C object src/CMakeFiles/prboom-plus.dir/version.c.obj
[ 40%] Building C object src/CMakeFiles/prboom-plus.dir/v_video.c.obj
[ 40%] Building C object src/CMakeFiles/prboom-plus.dir/wi_stuff.c.obj
[ 40%] Building C object src/CMakeFiles/prboom-plus.dir/w_wad.c.obj
[ 40%] Building C object src/CMakeFiles/glboom-plus.dir/hu_lib.c.obj
[ 41%] Building C object src/CMakeFiles/prboom-plus.dir/z_bmalloc.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c: In function 'G_ReadDemoHeaderEx':
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c:3996:7: warning: 'map' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3996 |       G_InitNew(skill, episode, map);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/g_game.c:3996:7: warning: 'episode' may be used uninitialized in this function [-Wmaybe-uninitialized]
[ 41%] Building C object src/CMakeFiles/prboom-plus.dir/z_zone.c.obj
[ 42%] Building C object src/CMakeFiles/prboom-plus.dir/d_client.c.obj
[ 42%] Building C object src/CMakeFiles/prboom-plus.dir/w_memcache.c.obj
[ 42%] Building C object src/CMakeFiles/prboom-plus.dir/memio.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/memio.c: In function 'mem_fopen_read':
C:/msys64/home/Admin/prboom-plus/prboom2/src/memio.c:59:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
   59 |   file->buf = (unsigned char *) buf;
      |               ^
[ 43%] Building C object src/CMakeFiles/prboom-plus.dir/mus2mid.c.obj
[ 43%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/i_joy.c.obj
[ 44%] Building C object src/CMakeFiles/glboom-plus.dir/hu_stuff.c.obj
[ 45%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/i_main.c.obj
[ 45%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/i_network.c.obj
[ 46%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/i_sound.c.obj
[ 46%] Building C object src/CMakeFiles/glboom-plus.dir/hu_tracers.c.obj
[ 46%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/i_sshot.c.obj
[ 46%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/i_system.c.obj
[ 47%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/i_video.c.obj
[ 47%] Building C object src/CMakeFiles/prboom-plus.dir/PCSOUND/pcsound.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_widget_build_armor':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:1546:14: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1546 |   w_armor.cm = HU_GetArmorColor(armor, CR_BLUE);
      |   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_widget_build_armor_big':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:1576:20: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1576 |     w_armor_big.cm = HU_GetArmorColor(armor, CR_BLUE2);
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 48%] Building C object src/CMakeFiles/prboom-plus.dir/PCSOUND/pcsound_linux.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_widget_build_armor_percent':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:2079:26: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2079 |       w_armor_percent.cm = HU_GetArmorColor(armor, CR_BLUE2);
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 48%] Building C object src/CMakeFiles/prboom-plus.dir/PCSOUND/pcsound_sdl.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c: In function 'HU_GetArmorColor':
C:/msys64/home/Admin/prboom-plus/prboom2/src/hu_stuff.c:1276:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1276 |   return result;
      |          ^~~~~~
[ 48%] Building C object src/CMakeFiles/prboom-plus.dir/PCSOUND/pcsound_win32.c.obj
[ 49%] Building C object src/CMakeFiles/prboom-plus.dir/TEXTSCREEN/txt_sdl.c.obj
[ 49%] Building C object src/CMakeFiles/glboom-plus.dir/info.c.obj
[ 49%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/dbopl.c.obj
[ 50%] Building C object src/CMakeFiles/glboom-plus.dir/i_capture.c.obj
[ 50%] Building C object src/CMakeFiles/glboom-plus.dir/i_pcsound.c.obj
[ 51%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/dumbplayer.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/dumbplayer.c: In function 'db_render':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/dumbplayer.c:233:5: warning: 'duh_render' is deprecated [-Wdeprecated-declarations]
  233 |     nsampwrit = duh_render (dsren, 16, 0, db_volume, db_delta, nsamp, dest);
      |     ^~~~~~~~~
In file included from C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/dumbplayer.c:76:
C:/msys64/mingw64/include/dumb.h:309:6: note: declared here
  309 | long duh_render(DUH_SIGRENDERER *sigrenderer, int bits, int unsign,
      |      ^~~~~~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/TEXTSCREEN/txt_sdl.c:904:5: warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef]
  904 | #if _MSC_VER < 1400 /* not needed for Visual Studio 2008 */
      |     ^~~~~~~~
[ 51%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/flplayer.c.obj
[ 51%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/madplayer.c.obj
[ 52%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/midifile.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c: In function 'my_popen3':
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c:243:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  243 |   if (NULL == (fin = _fdopen (_open_osfhandle ((int) parent_hin, 0), "wb")))
      |                                                ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c:245:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  245 |   if (NULL == (fout = _fdopen (_open_osfhandle ((int) parent_hout, 0), "r")))
      |                                                 ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/i_capture.c:247:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  247 |   if (NULL == (ferr = _fdopen (_open_osfhandle ((int) parent_herr, 0), "r")))
      |                                                 ^
[ 53%] Building C object src/CMakeFiles/glboom-plus.dir/lprintf.c.obj
[ 53%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/opl.c.obj
[ 54%] Building C object src/CMakeFiles/glboom-plus.dir/md5.c.obj
[ 54%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/oplplayer.c.obj
[ 54%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/opl_queue.c.obj
[ 55%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/portmidiplayer.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c: In function 'I_OPL_PlaySong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1226:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1226 |     file = (midi_file_t*)handle;
      |            ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c: In function 'I_OPL_UnRegisterSong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1326:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1326 |         MIDI_FreeFile((midi_file_t *) handle);
      |                       ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c: In function 'I_OPL_RegisterSong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1349:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1349 |     mf.data = (byte*)data;
      |               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1359:67: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
 1359 |         lprintf (LO_WARN, "I_OPL_RegisterSong: Very short MIDI (%li bytes)\n", mf.len);
      |                                                                 ~~^            ~~~~~~
      |                                                                   |              |
      |                                                                   long int       size_t {aka long long unsigned int}
      |                                                                 %I64i
[ 55%] Building C object src/CMakeFiles/prboom-plus.dir/MUSIC/vorbisplayer.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/portmidiplayer.c: In function 'pm_registersong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/portmidiplayer.c:226:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  226 |   mf.data = (byte*)data;
      |             ^
[ 55%] Building RC object src/CMakeFiles/prboom-plus.dir/__/ICONS/icons.rc.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/vorbisplayer.c: In function 'vorb_registersong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/vorbisplayer.c:262:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  262 |   i = ov_test_callbacks ((void *) data, &vf, NULL, 0, vcallback);
      |                          ^
[ 56%] Building C object src/CMakeFiles/glboom-plus.dir/m_argv.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/ICONS/icons.rc:3:10: fatal error: config.h: No such file or directory
    3 | #include "config.h"
      |          ^~~~~~~~~~
compilation terminated.
C:\msys64\mingw64\bin\windres.exe: preprocessing failed.
make[2]: *** [src/CMakeFiles/prboom-plus.dir/build.make:1408: src/CMakeFiles/prboom-plus.dir/__/ICONS/icons.rc.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 57%] Building C object src/CMakeFiles/prboom-plus.dir/e6y_launcher.c.obj
[ 57%] Building C object src/CMakeFiles/prboom-plus.dir/SDL/SDL_windows_main.c.obj
[ 57%] Building C object src/CMakeFiles/glboom-plus.dir/m_bbox.c.obj
[ 57%] Building C object src/CMakeFiles/glboom-plus.dir/m_cheat.c.obj
[ 58%] Building C object src/CMakeFiles/glboom-plus.dir/m_menu.c.obj
[ 58%] Building C object src/CMakeFiles/glboom-plus.dir/m_misc.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_cheat.c: In function 'cheat_clev':
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_cheat.c:390:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  390 |   struct MapEntry* entry = G_LookupMapinfo(epsd, map);
      |   ^~~~~~
[ 59%] Building C object src/CMakeFiles/glboom-plus.dir/m_random.c.obj
[ 59%] Building C object src/CMakeFiles/glboom-plus.dir/p_ceilng.c.obj
[ 59%] Building C object src/CMakeFiles/glboom-plus.dir/p_checksum.c.obj
[ 60%] Building C object src/CMakeFiles/glboom-plus.dir/p_doors.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:57: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
   57 | #pragma comment( lib, "comctl32.lib" )
      |
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:58: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
   58 | #pragma comment( lib, "advapi32.lib" )
      |
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'L_FilesOnChange':
[ 60%] Building C object src/CMakeFiles/glboom-plus.dir/p_enemy.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:258:14: warning: cast from function call of type 'LRESULT' {aka 'long long int'} to non-matching type 'struct HFONT__ *' [-Wbad-function-cast]
  258 |       font = (HFONT)SendMessage(launcher.staticFileName, WM_GETFONT, 0, 0);
      |              ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'L_HistoryOnChange':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:290:15: warning: cast from function call of type 'LRESULT' {aka 'long long int'} to non-matching type 'waddata_t *' [-Wbad-function-cast]
  290 |     waddata = (waddata_t*)SendMessage(launcher.listHistory, CB_GETITEMDATA, index, 0);
      |               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:291:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  291 |     if ((int)waddata != CB_ERR)
      |         ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'L_CommandOnChange':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:375:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  375 |         sprintf(str, "launcher_history%d", i);
      |                                       ~^   ~
      |                                        |   |
      |                                        int size_t {aka long long unsigned int}
      |                                       %lld
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:378:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  378 |         strcpy((char*)history->location.ppsz[0], "");
      |                ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'L_PrepareToLaunch':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:723:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  723 |       sprintf(str, "launcher_history%d", i);
      |                                     ~^   ~
      |                                      |   |
      |                                      int size_t {aka long long unsigned int}
      |                                     %lld
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:735:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  735 |       sprintf(str, "launcher_history%d", i);
      |                                     ~^   ~
      |                                      |   |
      |                                      int size_t {aka long long unsigned int}
      |                                     %lld
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:737:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  737 |       sprintf(str, "launcher_history%d", i-1);
      |                                     ~^   ~~~
      |                                      |    |
      |                                      int  size_t {aka long long unsigned int}
      |                                     %lld
In file included from C:/msys64/home/Admin/prboom-plus/prboom2/src/doomdef.h:49,
                 from C:/msys64/home/Admin/prboom-plus/prboom2/src/d_items.h:38,
                 from C:/msys64/home/Admin/prboom-plus/prboom2/src/d_player.h:43,
                 from C:/msys64/home/Admin/prboom-plus/prboom2/src/doomstat.h:43,
                 from C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:42:
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:741:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  741 |         free((char*)history1->location.ppsz[0]);
      |              ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/z_zone.h:114:35: note: in definition of macro 'free'
  114 | #define free(p)            Z_Free(p)
      |                                   ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'L_ReadCacheData':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:779:34: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'wad_source_t *' [-Wformat=]
  779 |         if (3 == sscanf(p + 1, "%d, %d, %d", &item.source, &item.doom1, &item.doom2))
      |                                 ~^           ~~~~~~~~~~~~
      |                                  |           |
      |                                  int *       wad_source_t *
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:779:38: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'dboolean *' [-Wformat=]
  779 |         if (3 == sscanf(p + 1, "%d, %d, %d", &item.source, &item.doom1, &item.doom2))
      |                                     ~^                     ~~~~~~~~~~~
      |                                      |                     |
      |                                      int *                 dboolean *
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:779:42: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'dboolean *' [-Wformat=]
  779 |         if (3 == sscanf(p + 1, "%d, %d, %d", &item.source, &item.doom1, &item.doom2))
      |                                         ~^                              ~~~~~~~~~~~
      |                                          |                              |
      |                                          int *                          dboolean *
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'L_FillFilesList':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:918:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  918 |     if (iwad->doom1 && item->doom1 || iwad->doom2 && item->doom2 ||
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:922:68: warning: cast from function call of type 'char *' to non-matching type 'long long int' [-Wbad-function-cast]
  922 |       index = (int)SendMessage(launcher.listPWAD, LB_ADDSTRING, 0, (LPARAM)M_Strlwr(PathFindFileName(item->name)));
      |                                                                    ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'e6y_I_FindFile':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:958:32: warning: the address of 'd' will always evaluate as 'true' [-Waddress]
  958 |     sprintf(p, "%s%s%s%s", d, (d && !HasTrailingSlash(d)) ? "\\" : "",
      |                                ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'L_HistoryFreeData':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:1082:28: warning: cast from function call of type 'LRESULT' {aka 'long long int'} to non-matching type 'waddata_t *' [-Wbad-function-cast]
 1082 |       waddata_t *waddata = (waddata_t*)SendMessage(launcher.listHistory, CB_GETITEMDATA, i, 0);
      |                            ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:1083:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1083 |       if ((int)waddata != CB_ERR)
      |           ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'LauncherServerCallback':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:1291:9: warning: passing argument 4 of 'CreateDialogParamA' from incompatible pointer type [-Wincompatible-pointer-types]
 1291 |         LauncherClientCallback, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         BOOL (*)(struct HWND__ *, UINT,  WPARAM,  LPARAM) {aka int (*)(struct HWND__ *, unsigned int,  long long unsigned int,  long long int)}
In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:72,
                 from C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:36:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winuser.h:2401:111: note: expected 'DLGPROC' {aka 'long long int (*)(struct HWND__ *, unsigned int,  long long unsigned int,  long long int)'} but argument is of type 'BOOL (*)(struct HWND__ *, UINT,  WPARAM,  LPARAM)' {aka 'int (*)(struct HWND__ *, unsigned int,  long long unsigned int,  long long int)'}
 2401 |   WINUSERAPI HWND WINAPI CreateDialogParamA(HINSTANCE hInstance,LPCSTR lpTemplateName,HWND hWndParent,DLGPROC lpDialogFunc,LPARAM dwInitParam);
      |                                                                                                       ~~~~~~~~^~~~~~~~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c: In function 'EnumChildProc':
C:/msys64/home/Admin/prboom-plus/prboom2/src/e6y_launcher.c:1354:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1354 |     ti.uId = (UINT) hwndCtrl;
      |              ^
[ 61%] Building C object src/CMakeFiles/glboom-plus.dir/p_floor.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1146:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1146 |   {"launcher_history0", {NULL,&launcher_history[0]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1146:31: note: (near initialization for 'defaults[449].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1147:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1147 |   {"launcher_history1", {NULL,&launcher_history[1]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1147:31: note: (near initialization for 'defaults[450].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1148:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1148 |   {"launcher_history2", {NULL,&launcher_history[2]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1148:31: note: (near initialization for 'defaults[451].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1149:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1149 |   {"launcher_history3", {NULL,&launcher_history[3]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1149:31: note: (near initialization for 'defaults[452].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1150:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1150 |   {"launcher_history4", {NULL,&launcher_history[4]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1150:31: note: (near initialization for 'defaults[453].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1151:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1151 |   {"launcher_history5", {NULL,&launcher_history[5]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1151:31: note: (near initialization for 'defaults[454].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1152:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1152 |   {"launcher_history6", {NULL,&launcher_history[6]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1152:31: note: (near initialization for 'defaults[455].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1153:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1153 |   {"launcher_history7", {NULL,&launcher_history[7]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1153:31: note: (near initialization for 'defaults[456].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1154:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1154 |   {"launcher_history8", {NULL,&launcher_history[8]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1154:31: note: (near initialization for 'defaults[457].location.ppsz')
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1155:31: warning: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
 1155 |   {"launcher_history9", {NULL,&launcher_history[9]}, {0,""},UL,UL,def_str,ss_none},
      |                               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/m_misc.c:1155:31: note: (near initialization for 'defaults[458].location.ppsz')
[ 61%] Building C object src/CMakeFiles/glboom-plus.dir/p_genlin.c.obj
[ 61%] Building C object src/CMakeFiles/glboom-plus.dir/p_inter.c.obj
[ 62%] Building C object src/CMakeFiles/glboom-plus.dir/p_lights.c.obj
[ 62%] Building C object src/CMakeFiles/glboom-plus.dir/p_map.c.obj
[ 63%] Building C object src/CMakeFiles/glboom-plus.dir/p_maputl.c.obj
[ 63%] Building C object src/CMakeFiles/glboom-plus.dir/p_mobj.c.obj
[ 64%] Building C object src/CMakeFiles/glboom-plus.dir/p_plats.c.obj
[ 64%] Building C object src/CMakeFiles/glboom-plus.dir/p_pspr.c.obj
[ 64%] Building C object src/CMakeFiles/glboom-plus.dir/p_saveg.c.obj
[ 65%] Building C object src/CMakeFiles/glboom-plus.dir/p_setup.c.obj
[ 65%] Building C object src/CMakeFiles/glboom-plus.dir/p_sight.c.obj
[ 66%] Building C object src/CMakeFiles/glboom-plus.dir/p_spec.c.obj
[ 66%] Building C object src/CMakeFiles/glboom-plus.dir/p_switch.c.obj
[ 66%] Building C object src/CMakeFiles/glboom-plus.dir/p_telept.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/p_setup.c: In function 'P_LoadZNodes':
C:/msys64/home/Admin/prboom-plus/prboom2/src/p_setup.c:1149:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1149 |   data = W_CacheLumpNum(lump);
      |        ^
[ 67%] Building C object src/CMakeFiles/glboom-plus.dir/p_tick.c.obj
[ 67%] Building C object src/CMakeFiles/glboom-plus.dir/p_user.c.obj
[ 68%] Building C object src/CMakeFiles/glboom-plus.dir/r_bsp.c.obj
[ 68%] Building C object src/CMakeFiles/glboom-plus.dir/r_data.c.obj
[ 68%] Building C object src/CMakeFiles/glboom-plus.dir/r_demo.c.obj
[ 69%] Building C object src/CMakeFiles/glboom-plus.dir/r_draw.c.obj
[ 69%] Building C object src/CMakeFiles/glboom-plus.dir/r_filter.c.obj
[ 70%] Building C object src/CMakeFiles/glboom-plus.dir/r_fps.c.obj
[ 70%] Building C object src/CMakeFiles/glboom-plus.dir/r_main.c.obj
[ 71%] Building C object src/CMakeFiles/glboom-plus.dir/r_patch.c.obj
[ 71%] Building C object src/CMakeFiles/glboom-plus.dir/r_plane.c.obj
[ 71%] Building C object src/CMakeFiles/glboom-plus.dir/r_segs.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c: In function 'CheckWadBufIntegrity':
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:968:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  968 |     header = (wadinfo_t*)buffer;
      |              ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:978:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  978 |         fileinfo = (filelump_t*)(buffer + header->infotableofs);
      |                    ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c: In function 'W_AddLump.part.0':
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:338:5: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation]
  338 |     strncpy(wadtbl->lumps[lumpnum].name, name, 8);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'W_AddLump',
    inlined from 'W_AddLump' at C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:322:6:
C:/msys64/home/Admin/prboom-plus/prboom2/src/r_demo.c:338:5: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation]
  338 |     strncpy(wadtbl->lumps[lumpnum].name, name, 8);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 72%] Building C object src/CMakeFiles/glboom-plus.dir/r_sky.c.obj
[ 72%] Building C object src/CMakeFiles/glboom-plus.dir/r_things.c.obj
[ 73%] Building CXX object src/CMakeFiles/glboom-plus.dir/scanner.cpp.obj
[ 73%] Building C object src/CMakeFiles/glboom-plus.dir/sc_man.c.obj
[ 73%] Building C object src/CMakeFiles/glboom-plus.dir/sounds.c.obj
[ 74%] Building C object src/CMakeFiles/glboom-plus.dir/statdump.c.obj
[ 74%] Building C object src/CMakeFiles/glboom-plus.dir/st_lib.c.obj
[ 75%] Building C object src/CMakeFiles/glboom-plus.dir/st_stuff.c.obj
[ 75%] Building C object src/CMakeFiles/glboom-plus.dir/s_advsound.c.obj
[ 75%] Building C object src/CMakeFiles/glboom-plus.dir/s_sound.c.obj
[ 76%] Building C object src/CMakeFiles/glboom-plus.dir/tables.c.obj
[ 76%] Building CXX object src/CMakeFiles/glboom-plus.dir/umapinfo.cpp.obj
[ 77%] Building C object src/CMakeFiles/glboom-plus.dir/version.c.obj
[ 77%] Building C object src/CMakeFiles/glboom-plus.dir/v_video.c.obj
[ 78%] Building C object src/CMakeFiles/glboom-plus.dir/wi_stuff.c.obj
[ 78%] Building C object src/CMakeFiles/glboom-plus.dir/w_wad.c.obj
[ 78%] Building C object src/CMakeFiles/glboom-plus.dir/z_bmalloc.c.obj
make[1]: *** [CMakeFiles/Makefile2:268: src/CMakeFiles/prboom-plus.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 79%] Building C object src/CMakeFiles/glboom-plus.dir/z_zone.c.obj
[ 79%] Building C object src/CMakeFiles/glboom-plus.dir/d_client.c.obj
[ 80%] Building C object src/CMakeFiles/glboom-plus.dir/w_memcache.c.obj
[ 80%] Building C object src/CMakeFiles/glboom-plus.dir/memio.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/memio.c: In function 'mem_fopen_read':
C:/msys64/home/Admin/prboom-plus/prboom2/src/memio.c:59:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
   59 |   file->buf = (unsigned char *) buf;
      |               ^
[ 80%] Building C object src/CMakeFiles/glboom-plus.dir/mus2mid.c.obj
[ 81%] Building C object src/CMakeFiles/glboom-plus.dir/SDL/i_joy.c.obj
[ 81%] Building C object src/CMakeFiles/glboom-plus.dir/SDL/i_main.c.obj
[ 82%] Building C object src/CMakeFiles/glboom-plus.dir/SDL/i_network.c.obj
[ 82%] Building C object src/CMakeFiles/glboom-plus.dir/SDL/i_sound.c.obj
[ 82%] Building C object src/CMakeFiles/glboom-plus.dir/SDL/i_sshot.c.obj
[ 83%] Building C object src/CMakeFiles/glboom-plus.dir/SDL/i_system.c.obj
[ 83%] Building C object src/CMakeFiles/glboom-plus.dir/SDL/i_video.c.obj
[ 84%] Building C object src/CMakeFiles/glboom-plus.dir/PCSOUND/pcsound.c.obj
[ 84%] Building C object src/CMakeFiles/glboom-plus.dir/PCSOUND/pcsound_linux.c.obj
[ 85%] Building C object src/CMakeFiles/glboom-plus.dir/PCSOUND/pcsound_sdl.c.obj
[ 85%] Building C object src/CMakeFiles/glboom-plus.dir/PCSOUND/pcsound_win32.c.obj
[ 85%] Building C object src/CMakeFiles/glboom-plus.dir/TEXTSCREEN/txt_sdl.c.obj
[ 86%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/dbopl.c.obj
[ 86%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/dumbplayer.c.obj
[ 87%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/flplayer.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/dumbplayer.c: In function 'db_render':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/dumbplayer.c:233:5: warning: 'duh_render' is deprecated [-Wdeprecated-declarations]
  233 |     nsampwrit = duh_render (dsren, 16, 0, db_volume, db_delta, nsamp, dest);
      |     ^~~~~~~~~
In file included from C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/dumbplayer.c:76:
C:/msys64/mingw64/include/dumb.h:309:6: note: declared here
  309 | long duh_render(DUH_SIGRENDERER *sigrenderer, int bits, int unsign,
      |      ^~~~~~~~~~
[ 87%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/madplayer.c.obj
[ 87%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/midifile.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/TEXTSCREEN/txt_sdl.c:904:5: warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef]
  904 | #if _MSC_VER < 1400 /* not needed for Visual Studio 2008 */
      |     ^~~~~~~~
[ 88%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/opl.c.obj
[ 88%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/oplplayer.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c: In function 'I_OPL_PlaySong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1226:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1226 |     file = (midi_file_t*)handle;
      |            ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c: In function 'I_OPL_UnRegisterSong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1326:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1326 |         MIDI_FreeFile((midi_file_t *) handle);
      |                       ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c: In function 'I_OPL_RegisterSong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1349:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
 1349 |     mf.data = (byte*)data;
      |               ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/oplplayer.c:1359:67: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
 1359 |         lprintf (LO_WARN, "I_OPL_RegisterSong: Very short MIDI (%li bytes)\n", mf.len);
      |                                                                 ~~^            ~~~~~~
      |                                                                   |              |
      |                                                                   long int       size_t {aka long long unsigned int}
      |                                                                 %I64i
[ 89%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/opl_queue.c.obj
[ 89%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/portmidiplayer.c.obj
[ 89%] Building C object src/CMakeFiles/glboom-plus.dir/MUSIC/vorbisplayer.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/portmidiplayer.c: In function 'pm_registersong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/portmidiplayer.c:226:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  226 |   mf.data = (byte*)data;
      |             ^
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/vorbisplayer.c: In function 'vorb_registersong':
C:/msys64/home/Admin/prboom-plus/prboom2/src/MUSIC/vorbisplayer.c:262:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  262 |   i = ov_test_callbacks ((void *) data, &vf, NULL, 0, vcallback);
      |                          ^
[ 90%] Building C object src/CMakeFiles/glboom-plus.dir/gl_clipper.c.obj
[ 90%] Building C object src/CMakeFiles/glboom-plus.dir/gl_detail.c.obj
[ 91%] Building C object src/CMakeFiles/glboom-plus.dir/gl_drawinfo.c.obj
[ 91%] Building C object src/CMakeFiles/glboom-plus.dir/gl_fbo.c.obj
[ 92%] Building C object src/CMakeFiles/glboom-plus.dir/gl_gamma.c.obj
[ 92%] Building C object src/CMakeFiles/glboom-plus.dir/gl_hires.c.obj
[ 92%] Building C object src/CMakeFiles/glboom-plus.dir/gl_hqresize.c.obj
[ 93%] Building C object src/CMakeFiles/glboom-plus.dir/gl_light.c.obj
[ 93%] Building C object src/CMakeFiles/glboom-plus.dir/gl_main.c.obj
[ 94%] Building C object src/CMakeFiles/glboom-plus.dir/gl_map.c.obj
[ 94%] Building C object src/CMakeFiles/glboom-plus.dir/gl_missingtexture.c.obj
[ 94%] Building C object src/CMakeFiles/glboom-plus.dir/gl_opengl.c.obj
[ 95%] Building C object src/CMakeFiles/glboom-plus.dir/gl_preprocess.c.obj
[ 95%] Building C object src/CMakeFiles/glboom-plus.dir/gl_shader.c.obj
[ 96%] Building C object src/CMakeFiles/glboom-plus.dir/gl_shadow.c.obj
[ 96%] Building C object src/CMakeFiles/glboom-plus.dir/gl_sky.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_preprocess.c: In function 'gld_FlatConvexCarver':
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_preprocess.c:236:69: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
  236 |     if (levelinfo) fprintf(levelinfo, "All carved away: subsector %li - sector %i\n", ssec-subsectors, ssec->sector->iSectorID);
      |                                                                   ~~^                 ~~~~~~~~~~~~~~~
      |                                                                     |                     |
      |                                                                     long int              long long int
      |                                                                   %lli
[ 96%] Building C object src/CMakeFiles/glboom-plus.dir/gl_texture.c.obj
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c: In function 'gld_LoadShader':
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:147:40: warning: passing argument 3 of 'ReadLump' from incompatible pointer type [-Wincompatible-pointer-types]
  147 |   vp_size = ReadLump(filename, vpname, &vp_data);
      |                                        ^~~~~~~~
      |                                        |
      |                                        char **
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:82:81: note: expected 'unsigned char **' but argument is of type 'char **'
   82 | static int ReadLump(const char *filename, const char *lumpname, unsigned char **buffer)
      |                                                                 ~~~~~~~~~~~~~~~~^~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:150:40: warning: passing argument 3 of 'ReadLump' from incompatible pointer type [-Wincompatible-pointer-types]
  150 |   fp_size = ReadLump(filename, fpname, &fp_data);
      |                                        ^~~~~~~~
      |                                        |
      |                                        char **
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:82:81: note: expected 'unsigned char **' but argument is of type 'char **'
   82 | static int ReadLump(const char *filename, const char *lumpname, unsigned char **buffer)
      |                                                                 ~~~~~~~~~~~~~~~~^~~~~~
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:159:51: warning: passing argument 3 of 'GLEXT_glShaderSourceARB' from incompatible pointer type [-Wincompatible-pointer-types]
  159 |     GLEXT_glShaderSourceARB(shader->hVertProg, 1, &vp_data, &vp_size);
      |                                                   ^~~~~~~~
      |                                                   |
      |                                                   char **
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:159:51: note: expected 'const GLcharARB **' {aka 'const char **'} but argument is of type 'char **'
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:160:51: warning: passing argument 3 of 'GLEXT_glShaderSourceARB' from incompatible pointer type [-Wincompatible-pointer-types]
  160 |     GLEXT_glShaderSourceARB(shader->hFragProg, 1, &fp_data, &fp_size);
      |                                                   ^~~~~~~~
      |                                                   |
      |                                                   char **
C:/msys64/home/Admin/prboom-plus/prboom2/src/gl_shader.c:160:51: note: expected 'const GLcharARB **' {aka 'const char **'} but argument is of type 'char **'
[ 97%] Building C object src/CMakeFiles/glboom-plus.dir/gl_vertex.c.obj
[ 97%] Building C object src/CMakeFiles/glboom-plus.dir/gl_wipe.c.obj
[ 98%] Building RC object src/CMakeFiles/glboom-plus.dir/__/ICONS/icons.rc.obj
C:/msys64/home/Admin/prboom-plus/prboom2/ICONS/icons.rc:3:10: fatal error: config.h: No such file or directory
    3 | #include "config.h"
      |          ^~~~~~~~~~
compilation terminated.
C:\msys64\mingw64\bin\windres.exe: preprocessing failed.
make[2]: *** [src/CMakeFiles/glboom-plus.dir/build.make:1655: src/CMakeFiles/glboom-plus.dir/__/ICONS/icons.rc.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:241: src/CMakeFiles/glboom-plus.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

 

Edited by T.Will

Share this post


Link to post

Sorry for an odd question, but I read this issue and got confused a little. Is there an option to set 8-bit, or 15-bit or 16-bit rendering? I looked through the settings and found nothing like that.

I found this parameter in the config file, but I'm not sure if that's the right thing.

gl_colorbuffer_bits          32

Share this post


Link to post
4 minutes ago, Dimon12321 said:

Sorry for an odd question, but I read this issue and got confused a little. Is there an option to set 8-bit, or 15-bit or 16-bit rendering? I looked through the settings and found nothing like that.

I found this parameter in the config file, but I'm not sure if that's the right thing.

gl_colorbuffer_bits          32

 

It's in General, the very first setting. At least on Windows.

Share this post


Link to post
2 hours ago, maxmanium said:

No comment on the mouse thing? Seriously, I can't find a proper sensitivity anymore. What changed? SDL version?

 

There has happened a lot lately. Could you please file this at the issue tracker, so it doesn't get lost in a thread?

Share this post


Link to post

@Never_Again I figured out the issue. I just had to put the config.h into the ICONS folder to get it to build. Thank you for all your help!

 

I did notice the huge amount of DLLs needed for the build to run compared to the most recent of @seed's builds. Why is that?

Share this post


Link to post
14 minutes ago, T.Will said:

I did notice the huge amount of DLLs needed for the build to run compared to the most recent of @seed's builds. Why is that?

 

It depends on how many features (especially music backends) you enable and how many dependencies these backends in turn pull in. Fluidsynth, for example, pulls in libglib which is quite heavyweight and SDL2_Mixer may pull in a whole collection of sound file format libraries (for MP3, Ogg Vorbis, FLAC, Opus, etc.) on its own - depending on how it has been configured.

Edited by fabian

Share this post


Link to post
4 minutes ago, fabian said:

 

It depends on how many features (especially music backends) you enable and how many dependencies these backends in turn pull in. Fluidsynth, for example, pulls in libglib which is quite heavyweight and SDL2_Mixer may pull in a whole collection of sound file format libraries (for MP3, Ogg Vorbis, FLAC, Opus, etc.) on its own - depending on how it has been configured.

I see. Love the updates including the simplifying of config files.

Share this post


Link to post
4 hours ago, maxmanium said:

No comment on the mouse thing? Seriously, I can't find a proper sensitivity anymore. What changed? SDL version?

If your problem is mouse sensitivity changing with resolutiin settings, I've got that, too.

Share this post


Link to post
14 hours ago, T.Will said:

@Never_Again I figured out the issue. I just had to put the config.h into the ICONS folder to get it to build. Thank you for all your help!

 

You're welcome. It's odd you had to do that, though; perhaps this is worth opening a new issue on Github?

 

14 hours ago, T.Will said:

I did notice the huge amount of DLLs needed for the build to run compared to the most recent of @seed's builds. Why is that?

 

What Fabian said, plus MSYS2 won't build static execs for prb+.

 

Share this post


Link to post

Latest Win32 dev build, as of commit f29df94 (Jan 12 2021) plus an unofficial extra.

 

Noteworthy changes since last dev build (Jan 7 2021):

* "Screen Multiple Factor" now functions like a "window size factor" 
  (i.e. like "-1", "-2", "-3" in Chocolate Doom) and has no effect in fullscreen modes
* added "Integer Screen Scaling" option  la Crispy Doom), which restricts the screen
  size to integer multiples of the game resolution, under Options -> General, page 5
* both executables now share the same config file "prboom-plus.cfg", with all config 
  keys always preserved - including the GL-related ones

prboom-plus-20210112-w32.zip

 

Includes updated DLLs plus one new DLL.

See the accompanying TXT file for details.

For a complete list of changes since last official release look here.

 

edit: updated ZIP with libdeflate.dll

Edited by Never_Again
replaced file

Share this post


Link to post

The only DLL missing from the original ZIP was libdeflate.dll. This was corrected earlier today.

What are the filenames of the other three DLLs still missing on your end?

Edited by Never_Again
wording

Share this post


Link to post

Worked after moving the dlls into the executable's directory.

 

Well man, I haven't followed as much what was going on with those PrBoom versions but I'm amazed with this.

 

- It works super fast - faster than I'm used to but maybe that's perfect

- It has 320x200 option

- Textures scale nicely

- Scales to full screen in nearest neighbour

- Menus and status bar aren't messed up

- The weapon sprite isn't distorted

 

Downsides I found:

- Glowy eye switches don't have glowing colormap eyes like in Crispy Doom

- OpenGl version doesn't have those features and has uglier lighting than in the other version I played

Share this post


Link to post

Can we do something about those build logs on this page? Even hidden under spoiler tags, their sheer size is causing my mobile browser to totally freeze for a good five minutes loading this page.

Edited by Shadow Hog

Share this post


Link to post

This may be a noob question, but would it be possible incorporate CrispyDooms blood colour fix into PrBoom+? 
Or is there any reason why that would not be possible or reasonable?

Share this post


Link to post

Tangentially related and isn't supposed to discourage anything or anyone, but spectre blood being spectral is one of the sillier fan additions I've seen.

Share this post


Link to post

Would it be possible to have an option to scale the crosshair? At the moment, default is tiny and scaled is a little too big for the standard cross one. A medium one between those 2 would be great.

Share this post


Link to post

Sorry for asking so much in here, but I'm not sure what I encountered with PrBoom+:
For complevels 2 & 3 (and 4?), weapon firing sounds are cutoff by enemy sounds and also pickup sounds, most noticeably while firing the chaingun. (Try picking up all the health bonuses while firing the chaingun in MAP01)
It seems to be part of the vanilla compatability, also toggled by the "doom sound quirks" option.

However, Chocolate Doom doesn't have this same issue, so I'm not sure what PrBoom+ is emulating here.
If anybody knows, that would be great, thanks!

Share this post


Link to post

So, with UMAPINFO, if I wanted to, could I define any exit and secret exit I wanted to on a level? Say I wanted to give most of the levels in a 10 map episode two different exits, thus creating a bunch of branching paths which eventually converge to a final map, would this fork or DSDA let me do that without problem, or could only GzDoom and Eternity do things like that?

 

1 hour ago, Marvv7 said:

For complevels 2 & 3 (and 4?), weapon firing sounds are cutoff by enemy sounds and also pickup sounds, most noticeably while firing the chaingun. (Try picking up all the health bonuses while firing the chaingun in MAP01)

I vaguely recall hearing that PrBoom+'s sound code is really old and bothersome to update, so perhaps it's just an issue of the old code not behaving 100% like it should on modern hardware.

Share this post


Link to post
On 1/19/2021 at 5:27 PM, Da Werecat said:

Tangentially related and isn't supposed to discourage anything or anyone, but spectre blood being spectral is one of the sillier fan additions I've seen.

I think it looks pretty nifty.

Share this post


Link to post
1 hour ago, ChopBlock223 said:

So, with UMAPINFO, if I wanted to, could I define any exit and secret exit I wanted to on a level? Say I wanted to give most of the levels in a 10 map episode two different exits, thus creating a bunch of branching paths which eventually converge to a final map, would this fork or DSDA let me do that without problem, or could only GzDoom and Eternity do things like that?

Yup, it's possible! In fact, someone's already made a mapset with multiple paths and endings by way of UMAPINFO.

The fact that secret levels theoretically allow for branching level progression is something I've thought about myself as well... it is definitely an idea that could be fun to experiment with :)

Edited by Alper002

Share this post


Link to post
14 minutes ago, Alper002 said:

Yup, it's possible! In fact, someone's already made a mapset with multiple paths and endings by way of UMAPINFO.

The fact that secret levels theoretically allow for branching level progression is something I've thought about myself as well... it is definitely an idea that could be fun to experiment with :)

Neat. I once played a mapset which used branching paths but with GzDoom's regular MAPINFO, and it's always made me wanna play around with ideas like that. I also realize it could actually be made PrBoom+/DSDA compatible by just replacing its MAPINFO lump with a new UMAPINFO lump.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...