您的位置:首页 > 编程语言 > C语言/C++

Compile WxWidget Under Windows 10

2016-02-22 00:00 495 查看
摘要: strvararg.h:350:18: error: 'is_enum' in namespace 'std' does not name a template type

At the first time , I compiled with commands :

mingw32-make -f makefile.gcc BUILD=debug SHARED=0 UNICODE=1

mingw32-make -f makefile.gcc BUILD=release SHARED=0 UNICODE=1

However, compile error occured:

‍‍strvararg.h:350:18: error: 'is_enum' in namespace 'std' does not name a template type

‍‍Then , I tried :

mingw32-make -f makefile.gcc BUILD=debug SHARED=0 UNICODE=1 CXXFLAGS=-std=gun++11 -Wall

mingw32-make -f makefile.gcc BUILD=release SHARED=0 UNICODE=1 CXXFLAGS=-std=gnu++11 -Wall

Now, everything goes fine.

‍‍Environment:

Windows 10 x64

WxWidget 3.0

MinGW

CodeBlock

Thank You For Sharing By Involving This Area....

Original Author : Samuel Zuuka, longjuelegender@sina.com


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  C++ UI wxWidget Compile MinGW