floooh / oryol

A small, portable and extensible C++ 3D coding framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failure on Windows 10 using vc12

opened this issue · comments

Hi
After failing to build on OSX, I gave win10 a chance, however this results in:

Done Building Project "D:\d\fips-build\oryol\win64-vstudio-debug\fips-zlib_zlib\zlib.vcxproj" (default targets).

Done Building Project "D:\d\fips-build\oryol\win64-vstudio-debug\ALL_BUILD.vcxproj" (default targets) -- FAILED.


Build FAILED.

"D:\d\fips-build\oryol\win64-vstudio-debug\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\d\fips-build\oryol\win64-vstudio-debug\code\Samples\ArrayTexture\ArrayTexture.vcxproj" (default target) (3) ->
"D:\d\fips-build\oryol\win64-vstudio-debug\code\Modules\Dbg\Dbg.vcxproj" (default target) (7) ->
"D:\d\fips-build\oryol\win64-vstudio-debug\code\Modules\Gfx\Gfx.vcxproj" (default target) (8) ->
(ClCompile target) ->
  d:\d\oryol\code\modules\gfx\private\gl\glCaps.h(112): fatal error C1001: An internal error has occurred in the compiler. [D:\d\fips-build\oryol\win64-vstudio-debug\code\Modules\Gfx\G
fx.vcxproj]
  d:\d\oryol\code\modules\gfx\private\gl\glCaps.h(112): fatal error C1001: An internal error has occurred in the compiler. [D:\d\fips-build\oryol\win64-vstudio-debug\code\Modules\Gfx\G
fx.vcxproj]
  d:\d\oryol\code\modules\gfx\private\gl\glCaps.h(112): fatal error C1001: An internal error has occurred in the compiler. [D:\d\fips-build\oryol\win64-vstudio-debug\code\Modules\Gfx\G
fx.vcxproj]
  D:\d\oryol\code\Modules\Gfx/private/gl/glCaps.h(112): fatal error C1001: An internal error has occurred in the compiler. [D:\d\fips-build\oryol\win64-vstudio-debug\code\Modules\Gfx\G
fx.vcxproj]
  d:\d\oryol\code\modules\gfx\private\gl\glCaps.h(112): fatal error C1001: An internal error has occurred in the compiler. [D:\d\fips-build\oryol\win64-vstudio-debug\code\Modules\Gfx\G
fx.vcxproj]

    0 Warning(s)
    5 Error(s)

Time Elapsed 00:00:16.33
[ERROR] Failed to build config 'win64-vstudio-debug' of project 'oryol'

Are you living near a nuclear power plant or something? ;)

I think vc12 is Visual Studio 2013? This only has very limited C++11 support, which may explain the problems (see here: https://msdn.microsoft.com/en-us/library/hh567368.aspx). VS 2015 should work.

PS: hmm but in the Readme I'm mentioning VS 2013, so I guess it worked at some point. But since a few years I've only been testing with VS 2015 and 2017.

PPS: another reason could be missing VS 2013 updates, there have been 5 service packs, and if I remember right C++11 support improved a lot during that time.