Search code examples
c++static-librarieswxwidgets

How can I change the name of libwx_gtk2ud_richtext-2.8


I've googled most of answers on this site but none of the answers solved my problem.

I am trying to build a project uses wx libraries. And compiler looks for -lwx_gtk2ud_richtext-2.8 file.But my wx-config --libs command gives libwx_gtk2_richtext-2.8. How can I change the name to add gtk2ud ,and would it solve my problem ?


Solution

  • You need to recompile the library.

    1. Remove the directory where you build it.
    2. Create a directory to build the library.
    3. Change to that directory and issue:

      ../configure --enable-unicode --enable-debug

    4. Issue make

    5. Compile you project.

    BTW, is there a reason you are trying an outdated version of wx? You should get the latest 3.1 release.