static (2)

Matt Connolly matt at soundevolution.com.au
Tue Dec 4 15:18:08 PST 2007


check your $PATH.

just typing `wx-config` may point to the gtk2u install. You may have  
to be path specific, eg:

$ g++  -Wall -o prog `/path/to/my/good/wx-config --cxxflags --libs`  
prog.cpp

-Matt

On 05/12/2007, at 4:47 AM, Zorro wrote:

>
> 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
>>>
>>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2174 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20071205/201df7c2/smime.bin


More information about the wx-users mailing list