I can still build the latest git versions of gzdoom with visual studio 2013 pro, but I was curious to try visual studio 2015 pro, I had to update to the latest version of cmake to support generation of the right build files,
I was able to generate the new project files with no problems, the build in general went pretty well, but there were 2 supporting libraries (jpeg & dumb) that had the same error:
jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol ___iob_func referenced in function _output_message
I don't have the dump build error handy at the moment, but it's the same error, I tried rebuilding everything clean with 2015, but these 2 errors persisted, if this can be fixed, then 2015 can be used to build gzdoom,
(there's no hurry though 2013 still does ok).
Just giving you a heads up...
Visual studio 2015 pro info
Moderator: Dev Builds Team
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Visual studio 2015 pro info
This sounds like you actually did NOT correctly rebuild the .lib file. The error you list is known to happen if you try to link with a library that was built with an older compiler. I have been able to successfully build with VC++ 2015.
-
- Posts: 30
- Joined: Sat Dec 26, 2009 3:29
Re: Visual studio 2015 pro info
I thought I did, I must have done something wrong somewhere.
Thanks for the reply!
Thanks for the reply!
-
- Posts: 30
- Joined: Sat Dec 26, 2009 3:29
Re: Visual studio 2015 pro info
Ok, I'm going to look like a idiot, but here goes. I created a blank folder and only copied over the login batch file to download the latest source code for gzdoom, I started fresh, with the exception of the login file,
nothing was carried over from the 2013 folder. I then updated cmake to get support for vs 2015, that went just fine no problems there, I then ran cmake to generate the project files for vs 2015, no problem
there (mostly), it said it couldn't find a few things, but kept running, (it did the same for vs 2013 and I can build gzdoom fine with that compiler) when cmake got done it said the build files had been successfully created.
I ran vs 2015 and loaded in the project files, I go to 'properties' for 'zdoom' (that's what's listed, not 'gzdoom') and set the 'safe code' to 'no' under 'linker' then 'advanced', I click on 'build', things run ok for a little bit,
then I started getting this: (Note: I cut the output that was ok to keep the post as short as possible).
1>------ Build started: Project: revision_check, Configuration: Release Win32 ------
2>------ Build started: Project: zipdir, Configuration: Release Win32 ------
2> zipdir.c
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(71): error C2059: syntax error: '[' <------ Code analysis was turned off in all of the project files, I checked all of them
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(103): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(135): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(147): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(157): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(168): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(178): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(188): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(200): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(212): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(222): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(232): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(250): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(260): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(272): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(282): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(292): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(302): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(312): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(322): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(332): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(342): error C2059: syntax error: '['
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2143: syntax error: missing ')' before '(' <----- wrong sdk possibly, I may have to update to a windows 10 sdk
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2081: '_Holds_resource_': name in formal parameter list illegal
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2146: syntax error: missing ')' before identifier '__deferTypecheck'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2061: syntax error: identifier '__deferTypecheck'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2081: '_Holds_resource_global_': name in formal parameter list illegal
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2055: expected formal parameter list, not a type list
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(553): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(553): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(553): fatal error C1903: unable to recover from previous error(s); stopping compilation
1> src/gitinfo.h is up to date at commit g2.1.pre-1196-g02c3828.
3>------ Build started: Project: zdoom, Configuration: Release Win32 ------
3>
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_draw.cpp(406): error C3861: 'va_copy': identifier not found <---- cmake stated it found this definition during the project file generation, so don't know for right now.
3> v_font.cpp
3> v_palette.cpp
3> v_pfx.cpp
3> v_text.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_text.cpp(121): error C3861: 'va_copy': identifier not found <---- same as above statement
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_text.cpp(143): error C3861: 'va_copy': identifier not found <---- same as above statement
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_text.cpp(235): error C3861: 'va_copy': identifier not found <---- same as above statement
3> v_video.cpp
3> Generating Code...
3> Compiling...
3> w_wad.cpp
3> wi_stuff.cpp
3> eaxedit.cpp
3> fb_d3d9.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\fb_d3d9.cpp(1493): warning C4838: conversion from 'int' to 'D3DCOLOR' requires a narrowing conversion
3> fb_d3d9_wipe.cpp
3> fb_ddraw.cpp
3> hardware.cpp
3> helperthread.cpp
3> i_cd.cpp
3> i_crash.cpp
3>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\dbghelp.h(1540): warning C4091: 'typedef ': ignored on left of '' when no variable is declared
3>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\dbghelp.h(3056): warning C4091: 'typedef ': ignored on left of '' when no variable is declared
3> i_dijoy.cpp
3> i_input.cpp
3> i_keyboard.cpp
3> i_main.cpp
3> i_mouse.cpp
3> i_movie.cpp
3> i_rawps2.cpp
3> i_system.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_system.cpp(1405): warning C4838: conversion from 'int' to 'DWORD' requires a narrowing conversion
3> i_xinput.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(126): error C2065: 'XUSER_MAX_COUNT': undeclared identifier <--- I can fix this easily
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(632): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(646): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(680): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(696): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(716): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3> st_start.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\st_start.cpp(1584): warning C4838: conversion from 'int' to 'const BYTE' requires a narrowing conversion
3> Generating Code...
3> Compiling...
3> win32gliface.cpp
3> win32video.cpp
3> x86.cpp
3> parse_xlat.cpp
3> zstrformat.cpp
3> zstring.cpp
3> zzautozend.cpp
3> Generating Code...
4>------ Build started: Project: brightmaps_pk3, Configuration: Release Win32 ------
5>------ Build started: Project: gzdoom_pk3, Configuration: Release Win32 ------
6>------ Build started: Project: lights_pk3, Configuration: Release Win32 ------
6> Building Custom Rule C:/gzdoomgit2015/gzdoomgit/gzdoom/wadsrc_lights/CMakeLists.txt
6> CMake does not need to re-run because C:\gzdoomgit2015\gzdoomgit\gzdoom\wadsrc_lights\CMakeFiles\generate.stamp is up-to-date.
6> Generating ../lights.pk3
6> '..\tools\zipdir\Release\zipdir.exe' is not recognized as an internal or external command,
6> operable program or batch file.
6>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
5> Building Custom Rule C:/gzdoomgit2015/gzdoomgit/gzdoom/wadsrc/CMakeLists.txt
4> Building Custom Rule C:/gzdoomgit2015/gzdoomgit/gzdoom/wadsrc_bm/CMakeLists.txt
5> CMake does not need to re-run because C:\gzdoomgit2015\gzdoomgit\gzdoom\wadsrc\CMakeFiles\generate.stamp is up-to-date.
5> Generating ../gzdoom.pk3
5> '..\tools\zipdir\Release\zipdir.exe' is not recognized as an internal or external command,
5> operable program or batch file.
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
4> CMake does not need to re-run because C:\gzdoomgit2015\gzdoomgit\gzdoom\wadsrc_bm\CMakeFiles\generate.stamp is up-to-date.
4> Generating ../brightmaps.pk3
4> '..\tools\zipdir\Release\zipdir.exe' is not recognized as an internal or external command,
4> operable program or batch file.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
7>------ Skipped Build: Project: ALL_BUILD, Configuration: Release Win32 ------
7>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 5 failed, 11 up-to-date, 1 skipped ==========
-------------------------------------------------------------------------------------------------------------------------------------------------------------
I can normally figure this out for myself, it might be I just don't have the right sdk(s) installed, but I'm not sure about that for now. Any opinions?
Thanks for any help!
nothing was carried over from the 2013 folder. I then updated cmake to get support for vs 2015, that went just fine no problems there, I then ran cmake to generate the project files for vs 2015, no problem
there (mostly), it said it couldn't find a few things, but kept running, (it did the same for vs 2013 and I can build gzdoom fine with that compiler) when cmake got done it said the build files had been successfully created.
I ran vs 2015 and loaded in the project files, I go to 'properties' for 'zdoom' (that's what's listed, not 'gzdoom') and set the 'safe code' to 'no' under 'linker' then 'advanced', I click on 'build', things run ok for a little bit,
then I started getting this: (Note: I cut the output that was ok to keep the post as short as possible).
1>------ Build started: Project: revision_check, Configuration: Release Win32 ------
2>------ Build started: Project: zipdir, Configuration: Release Win32 ------
2> zipdir.c
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(71): error C2059: syntax error: '[' <------ Code analysis was turned off in all of the project files, I checked all of them
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(103): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(135): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(147): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(157): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(168): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(178): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(188): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(200): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(212): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(222): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(232): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(250): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(260): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(272): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(282): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(292): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(302): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(312): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(322): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(332): error C2059: syntax error: '['
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\codeanalysis\sourceannotations.h(342): error C2059: syntax error: '['
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2143: syntax error: missing ')' before '(' <----- wrong sdk possibly, I may have to update to a windows 10 sdk
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(353): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(363): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(372): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(381): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(390): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(402): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(411): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(422): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2081: '_Holds_resource_': name in formal parameter list illegal
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2146: syntax error: missing ')' before identifier '__deferTypecheck'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2061: syntax error: identifier '__deferTypecheck'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2059: syntax error: ';'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(429): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2081: '_Holds_resource_global_': name in formal parameter list illegal
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2143: syntax error: missing ')' before 'type'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2055: expected formal parameter list, not a type list
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2059: syntax error: ','
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(430): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(553): error C2143: syntax error: missing ')' before '('
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(553): error C2091: function returns function
2>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\driverspecs.h(553): fatal error C1903: unable to recover from previous error(s); stopping compilation
1> src/gitinfo.h is up to date at commit g2.1.pre-1196-g02c3828.
3>------ Build started: Project: zdoom, Configuration: Release Win32 ------
3>
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_draw.cpp(406): error C3861: 'va_copy': identifier not found <---- cmake stated it found this definition during the project file generation, so don't know for right now.
3> v_font.cpp
3> v_palette.cpp
3> v_pfx.cpp
3> v_text.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_text.cpp(121): error C3861: 'va_copy': identifier not found <---- same as above statement
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_text.cpp(143): error C3861: 'va_copy': identifier not found <---- same as above statement
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\v_text.cpp(235): error C3861: 'va_copy': identifier not found <---- same as above statement
3> v_video.cpp
3> Generating Code...
3> Compiling...
3> w_wad.cpp
3> wi_stuff.cpp
3> eaxedit.cpp
3> fb_d3d9.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\fb_d3d9.cpp(1493): warning C4838: conversion from 'int' to 'D3DCOLOR' requires a narrowing conversion
3> fb_d3d9_wipe.cpp
3> fb_ddraw.cpp
3> hardware.cpp
3> helperthread.cpp
3> i_cd.cpp
3> i_crash.cpp
3>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\dbghelp.h(1540): warning C4091: 'typedef ': ignored on left of '' when no variable is declared
3>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\dbghelp.h(3056): warning C4091: 'typedef ': ignored on left of '' when no variable is declared
3> i_dijoy.cpp
3> i_input.cpp
3> i_keyboard.cpp
3> i_main.cpp
3> i_mouse.cpp
3> i_movie.cpp
3> i_rawps2.cpp
3> i_system.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_system.cpp(1405): warning C4838: conversion from 'int' to 'DWORD' requires a narrowing conversion
3> i_xinput.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(126): error C2065: 'XUSER_MAX_COUNT': undeclared identifier <--- I can fix this easily
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(632): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(646): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(680): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(696): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\i_xinput.cpp(716): error C2065: 'XUSER_MAX_COUNT': undeclared identifier
3> st_start.cpp
3>C:\gzdoomgit2015\gzdoomgit\gzdoom\src\win32\st_start.cpp(1584): warning C4838: conversion from 'int' to 'const BYTE' requires a narrowing conversion
3> Generating Code...
3> Compiling...
3> win32gliface.cpp
3> win32video.cpp
3> x86.cpp
3> parse_xlat.cpp
3> zstrformat.cpp
3> zstring.cpp
3> zzautozend.cpp
3> Generating Code...
4>------ Build started: Project: brightmaps_pk3, Configuration: Release Win32 ------
5>------ Build started: Project: gzdoom_pk3, Configuration: Release Win32 ------
6>------ Build started: Project: lights_pk3, Configuration: Release Win32 ------
6> Building Custom Rule C:/gzdoomgit2015/gzdoomgit/gzdoom/wadsrc_lights/CMakeLists.txt
6> CMake does not need to re-run because C:\gzdoomgit2015\gzdoomgit\gzdoom\wadsrc_lights\CMakeFiles\generate.stamp is up-to-date.
6> Generating ../lights.pk3
6> '..\tools\zipdir\Release\zipdir.exe' is not recognized as an internal or external command,
6> operable program or batch file.
6>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
5> Building Custom Rule C:/gzdoomgit2015/gzdoomgit/gzdoom/wadsrc/CMakeLists.txt
4> Building Custom Rule C:/gzdoomgit2015/gzdoomgit/gzdoom/wadsrc_bm/CMakeLists.txt
5> CMake does not need to re-run because C:\gzdoomgit2015\gzdoomgit\gzdoom\wadsrc\CMakeFiles\generate.stamp is up-to-date.
5> Generating ../gzdoom.pk3
5> '..\tools\zipdir\Release\zipdir.exe' is not recognized as an internal or external command,
5> operable program or batch file.
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
4> CMake does not need to re-run because C:\gzdoomgit2015\gzdoomgit\gzdoom\wadsrc_bm\CMakeFiles\generate.stamp is up-to-date.
4> Generating ../brightmaps.pk3
4> '..\tools\zipdir\Release\zipdir.exe' is not recognized as an internal or external command,
4> operable program or batch file.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
7>------ Skipped Build: Project: ALL_BUILD, Configuration: Release Win32 ------
7>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 5 failed, 11 up-to-date, 1 skipped ==========
-------------------------------------------------------------------------------------------------------------------------------------------------------------
I can normally figure this out for myself, it might be I just don't have the right sdk(s) installed, but I'm not sure about that for now. Any opinions?
Thanks for any help!
-
- Posts: 30
- Joined: Sat Dec 26, 2009 3:29
Re: Visual studio 2015 pro info
Update:
I finally got everything building properly with vs 2015 pro, the problem turned out to be bad project files, I stopped trying to make the project files with cmake and simply imported the last good files into vs 2015
and let it convert them, the reason for the dumb & jpeg lib errors was because the bad project files kept trying to load the libs from the wrong directory, so they were not being rebuilt with vs 2015. (but I didn't
realize that for quite some time).
I finally got everything building properly with vs 2015 pro, the problem turned out to be bad project files, I stopped trying to make the project files with cmake and simply imported the last good files into vs 2015
and let it convert them, the reason for the dumb & jpeg lib errors was because the bad project files kept trying to load the libs from the wrong directory, so they were not being rebuilt with vs 2015. (but I didn't
realize that for quite some time).