User forums > General (but related to Code::Blocks)
wxSmith and Valgrind Pluggin Installation
Miguel Gimenez:
Do you have libwxgtk3.0-dev installed? Try
--- Code: ---sudo apt-get install libwxgtk3.0-dev
--- End code ---
spflanze:
libwxgtk3.0-dev was not installed. So I installed it, but it made no difference The compiler still cannot find wx/wxprec.h.
The libwxgtk3.0-dev installed version is (3.0.4+dfsg-3). But it is wxWdigets 3.0.3 I have installed. Could that by why I still get this error?
stahta01:
What Linux distro are you using?
What does the next two commands return?
--- Code: ---wx-config --libs
--- End code ---
--- Code: ---wx-config --cflags
--- End code ---
Tim S.
spflanze:
Ubuntu 18.04
--- Code: ---~/devel/trunk$ wx-config --libs
-L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2u_xrc-3.0.a /usr/local/lib/libwx_gtk2u_qa-3.0.a /usr/local/lib/libwx_baseu_net-3.0.a /usr/local/lib/libwx_gtk2u_html-3.0.a /usr/local/lib/libwx_gtk2u_adv-3.0.a /usr/local/lib/libwx_gtk2u_core-3.0.a /usr/local/lib/libwx_baseu_xml-3.0.a /usr/local/lib/libwx_baseu-3.0.a -lgthread-2.0 -pthread -lX11 -lXxf86vm -lSM -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lpng -lexpat -lwxregexu-3.0 -lwxtiff-3.0 -lwxjpeg-3.0 -lz -ldl -lm
~/devel/trunk$ wx-config --cflags
-I/usr/local/lib/wx/include/gtk2-unicode-static-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -pthread
--- End code ---
stahta01:
Code::Blocks does not work very well with static wxWidgets.
Edit: I thought you were using the system wxWidgets instead of a local built version?
Edit2: Post output of this command
--- Code: ---wx-config --list
--- End code ---
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version