Загрузка страницы

Instalando y configurando wxWidgets, CodeBlocks y el compilador tdm-gcc

Versiones de programas usadas
wxWidgets-3.1.0, , CodeBlocks 16.01, tdm-gcc-5.1.0-3

-Para compilar las librerías estáticas usar lo siguiente:
mingw32-make -f makefile.gcc RUNTIME_LIBS=static USE_XRC=1 MONOLITHIC=1 SHARED=0 UNICODE=1 BUILD=release TARGET_CPU=X64 CXXFLAGS="-std=gnu++11"

-Para compilar las librerías dinámicas usar lo siguiente:
mingw32-make -f makefile.gcc RUNTIME_LIBS=dynamic USE_XRC=1 MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release TARGET_CPU=X64 CXXFLAGS="-std=gnu++11"

-Si tu PC no soporta 64bits cambiar TARGET_CPU=X64 por TARGET_CPU=X86

-Para compilar y limpiar una compilación anterior fallida añadir al final "clean" (sin comillas).

-Mini explicación del uso de Dynamics libraries (.dll) dependencia (wxmsw310u_gcc_custom.dll) or static libraries (.lib) STANDALONE.

- Crear la variable de entorno (WXWIN) que en realidad es WX=C:\wxWidgets-3.1.0
Resolviendo problemas de configuración:

1º - A matching release or debug configuration cannot be found in the wxwidgets directory you specified.

2º - Cannot find -lwxsw30u
-Cambiar librería vieja por librería nueva (libwxmsw30u.a) por (libwxmsw31u.a). Además añadir estas dos (shlwapi) y (version)

3º - Disable deprecated warnings (add flag)
-Wno-deprecated-declarations

4º - wx/setup.h No such file or directory
Asegurarse de que las rutas de los directorios están escritas y bien escritas.

5º-Problemas de codificación (ver acentos en español)
Hay varias formas de resolver:
Ir a Edit/File Encoding y seleccionar una de estas opciones
5.1-System default
5.2-Save byte-order-mark (BOM)
5.3-ASCII (ISO-8859-1)

Видео Instalando y configurando wxWidgets, CodeBlocks y el compilador tdm-gcc канала IVANEZEDITIONS
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
18 марта 2017 г. 8:50:20
00:26:00
Яндекс.Метрика