gdnative_cpp_example icon indicating copy to clipboard operation
gdnative_cpp_example copied to clipboard

[FYI] VC2017 vcvars64.bat Dev prompt may be needed to build libgdexample on Win8.1

Open aurodev opened this issue 5 years ago • 2 comments

OS/device including version: Windows 8.1 64bit, 8GB AMD FX 6350 6 core Recent VS2017 install

Dev prompt may be needed to build libgdexample on Win8.1 http://docs.godotengine.org/en/latest/tutorials/plugins/gdnative/gdnative-cpp-example.html

Builds successfully from a 64 bit dev prompt via:
Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat

Issue (was): http://docs.godotengine.org/en/latest/tutorials/plugins/gdnative/gdnative-cpp-example.html#compiling-the-plugin

Building the example from a regular terminal window presented with: scons platform=windows scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... cl /Fosrc\gdexample.obj /c src\gdexample.cpp /TP /nologo -DWIN32 -D_WIN32 -D_WINDOWS -W3 -GR -D_CRT_SECURE_NO_WARNINGS -EHsc -D_DEBUG -MDd /I. /Igodot-cpp\godot_headers /Igodot-cpp\include /Igodot-cpp\include\core /Igodot-cpp\include\gen /Isrc gdexample.cpp C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\yvals_core.h(298) : fatal error C1189: #error : STL1001: Unexpected compiler version, expected MSVC 19.15 or newer. scons: *** [src\gdexample.obj] Error 2 scons: building terminated because of errors.

aurodev avatar Jan 17 '19 20:01 aurodev

Btw... Thanks for your work on this!

aurodev avatar Jan 17 '19 20:01 aurodev

Hmm, yeah that should probably be made clearer in the docs.. I've left 32bit long behind and the examples are all using the 64bit compilers. (sorry for the late response)

BastiaanOlij avatar Mar 07 '19 11:03 BastiaanOlij