static (2)

Kit Bishop kit at bishop.net.nz
Wed Dec 5 11:39:37 PST 2007


Zorro wrote:
>> please
>> $ ../wx-config --list
>>
>>     Default config is gtk2-unicode-release-2.8
>>
>>   Default config in /home/times/wxGTK-2.8.7 will be used for output
>>
>>   Alternate matches:
>>     gtk2-ansi-release-2.8
>>
>>     
>>> This will list all the configurations available and tell you what the
>>> default is.
>>>
>>>
>>> Similarly:
>>>     --static=yes
>>>       
>
> I get that communicat:
>
> $ ../wx-config --cxxflags --libs --static=yes
>
>   Warning: No config found to match: ../wx-config --cxxflags --libs
> --static=yes
>            in /home/user/wxGTK-2.8.7/lib/wx/config
>   If you require this configuration, please install the desired
>   library build.  If this is part of an automated configuration
>   test and no other errors occur, you may safely ignore it.
>   You may use wx-config --list to see all configs available in
>   the default prefix.
>
>   
This all means that you have wx shared, release build for unicode and
ansi only.  You do not have a static build installed.

Thus, if you wish a static build you will have to build wx itself using
the --disable-shared option to configure (along with any other
apprpriate configure options).

Best regards,
Kit




More information about the wx-users mailing list