static (2)
Zorro
zorro at zoooooro.pl
Tue Dec 4 10:47:23 PST 2007
Riccardo Cohen pisze:
> just use the good wx-config :)
?
what is 'good' wx-config?
tell me cleared.
I use wx-config in directory where I compile ALL wxwidgetsGTK.
>
> Zorro wrote:
>> Riccardo Cohen pisze:
>>> I think that you've got 2 versions of wxwidgets on your system, one is
>>> unicode (gtk2u) and the other is not, depending on what option you set,
>>> gcc use the good or the bad one. check that.
>>
>> Yes my normal version is NOT unicode this is unicode.
>> But what options I can put in compilations?
>>
>>>>>> I download latest version compile with static options
>>>>>> And now i compile my program
>>>>>>
>>>>>> g++ -Wall -o prog `../wx-config --cxxflags --libs` prog.cpp
>>>>>>
>>>>>> not working
>>
>>>> I dowload new version. compile it. with wx-config from
>>>> /home/users/wxGTK-2.8.7
>>>>
>>>> $ make
>>>> g++ -Wall -o pr `/home/users/wxGTK-2.8.7/wx-config --cxxflags --libs`
>>>> prog.cpp
>>>> prog.cpp: In member function 'virtual bool MyApp::OnInit()':
>>>> prog.cpp:46: error: conversion from 'const char [14]' to 'const
>>>> wxString' is ambiguous
>>>> /home/users/wxGTK-2.8.7/include/wx/string.h:692: note: candidates are:
>>>> wxString::wxString(wxChar, size_t) <near match>
>>>> /home/users/wxGTK-2.8.7/include/wx/string.h:682: note:
>>>> wxString::wxString(int) <near match>
>>>> prog.cpp: In constructor 'MyTreeCtrl::MyTreeCtrl(wxWindow*, wxWindowID,
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
>> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>>
>>
>
More information about the wx-users
mailing list