static (2)
Riccardo Cohen
rcohen at articque.com
Tue Dec 4 06:18:28 PST 2007
just use the good wx-config :)
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
>
>
--
Très cordialement,
Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49
More information about the wx-users
mailing list