Pessoal, toda vez que eu vou compilar um projeto wxWidgets aparecem uma série de erros no arquivo setup.h, sendo estes:
1º - error: #error “This file should only be included when using Microsoft Visual C++”
#ifndef _MSC_VER
#error "This file should only be included when using Microsoft Visual C++" //Erro
#endif
2º - error: pasting “/” and “vc_dll” does not give a valid preprocessing token & error: pasting “/” and “msw” does not give a valid preprocessing token
#ifdef wxSUFFIX
#define wxSETUPH_PATH \
wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
#else // suffix is empty
#define wxSETUPH_PATH \
wxCONCAT5(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, /wx/setup.h) //Erro
#endif
3º - error: pasting “vc_dll” and “/” does not give a valid preprocessing token
#ifdef wxMSVC_VERSION
#define wxCOMPILER_PREFIX wxCONCAT(vc, wxMSVC_VERSION)
#elif defined(wxMSVC_VERSION_AUTO)
#if _MSC_VER == 1200
#define wxCOMPILER_PREFIX vc60
#elif _MSC_VER == 1300
#define wxCOMPILER_PREFIX vc70
#elif _MSC_VER == 1310
#define wxCOMPILER_PREFIX vc71
#elif _MSC_VER == 1400
#define wxCOMPILER_PREFIX vc80
#elif _MSC_VER == 1500
#define wxCOMPILER_PREFIX vc90
#elif _MSC_VER == 1600
#define wxCOMPILER_PREFIX vc100
#elif _MSC_VER == 1700
#define wxCOMPILER_PREFIX vc110
#elif _MSC_VER == 1800
#define wxCOMPILER_PREFIX vc120
#else
#error "Unknown MSVC compiler version, please report to wx-dev."
#endif
#else
#define wxCOMPILER_PREFIX vc //Erro
#endif
4º - error: pasting “msw” and “/” does not give a valid preprocessing token
#ifndef wxTOOLKIT_PREFIX
#if defined(__WXGTK__)
#define wxTOOLKIT_PREFIX gtk2
#else
#define wxTOOLKIT_PREFIX msw //Erro
#endif
#endif // wxTOOLKIT_PREFIX
5º - fatal error: …/…/…/lib/vc_dll /msw /wx/setup.h: No such file or directory
#include wxSETUPH_PATH_STR //Erro
Alguém sabe o que fazer?