-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26 #3
Comments
а ща? |
Нет, это fbb8e5c не правильно. |
ага спасибо, посмотрим что ща у chodorenko будет.. |
Собралось нормально https://screencloud.net/v/tqE0 |
Пытался собрать на SUSE Leap 42.1, все нужные библиотеки поставлены но при билде получаю ошибку не соотвествия версии glib2 просит минимум 2_26 , а у меня стоят 2.44
chodorenko@chodorenko-linux:
/9/far2l.git/trunk/WinPort> make -f WinPort.mk/9/far2l.git/trunk/WinPort> rpm -qa | grep glib2In file included from /usr/include/glib-2.0/glib/gtypes.h:34:0,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from KeyFileHelper.cpp:2:
/usr/include/glib-2.0/glib/gversionmacros.h:217:2: error: #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
#error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
^
In file included from /usr/include/glib-2.0/glib/galloca.h:32:0,
from /usr/include/glib-2.0/glib.h:30,
from KeyFileHelper.cpp:2:
/usr/include/glib-2.0/glib/gtypes.h:446:2: error: #error unknown ENDIAN type
#error unknown ENDIAN type
^
WinPort.mk:272: ошибка выполнения рецепта для цели «Debug/KeyFileHelper.cpp.o.d»
make: *** [Debug/KeyFileHelper.cpp.o.d] Ошибка 1
chodorenko@chodorenko-linux:
glib2-devel-2.44.1-2.3.x86_64
glib2-devel-32bit-2.44.1-2.3.x86_64
glib2-tools-32bit-2.44.1-2.3.x86_64
glib2-lang-2.44.1-2.3.noarch
glib2-tools-2.44.1-2.3.x86_64
libpackagekit-glib2-18-1.0.7-3.5.x86_64
libpackagekit-glib2-devel-1.0.7-3.5.x86_64
Также наблюдаю проблемы с кастами
./Main.cpp: In member function ‘wxString FixedFontLookup::Query()’:
./Main.cpp:246:62: error: invalid cast from type ‘wxString’ to type ‘const wchar_t_’
fprintf(stderr, "FixedFontLookup: %ls\n", (const wchar_t *)result);
^
./Main.cpp: In function ‘void InitializeFont(wxFrame, wxFont&)’:
./Main.cpp:264:59: error: invalid cast from type ‘wxString’ to type ‘const wchar_t_’
printf("InitializeFont: used %ls\n", (const wchar_t )str);
^
./Main.cpp: In constructor ‘WinPortPanel::WinPortPanel(WinPortFrame_, const wxPoint&, const wxSize&)’:
./Main.cpp:304:73: error: invalid cast from type ‘wxString’ to type ‘const wchar_t’
fprintf(stderr, "Font: '%ls' %s\n", (const wchar_t *)_font.GetFaceName(), _font.IsFixedWidth() ? "monospaced" : "not monospaced");
^
The text was updated successfully, but these errors were encountered: