I'm getting a strange error that hopefully someone might be able to help me troubleshoot. Let's start with the basic setup that I have. I'm using Code:Blocks 13 on Ubuntu 16 LTS, and using wxWidgets 3.0.2. I have compiled wxWidgets under a basic setup with ../configure --enable-webview. My 'wx-config --cxxflags' and 'wx-config --lib all' do return the proper values from the terminal as does wx-config --version. I have also built a debug version for wxWidgets. I can create a basic wxWidgets application. It compiles, links, and executes. I have my global variables defined correctly and the build options I believe are okay.
The issue stems from trying to build and execute my application. It compiles, it links but it quits immediately on status 127. I looked into this status which tells me that there is a problem with my $PATH or a typo which is cryptic. I see that sometimes people forget to include g++ and status 127 tells them of this disconnect. That's not issue with me. In fact Code::Blocks doesn't tell me anything related to what may be going on. There are a few clues though that might help.
If I use `wx-config --libs all` for my linker properties when building, I get a strange error: "cannot find -lwx_gtk2u_media-3.0" This is strange because I don't believe I am using code that would need this library or I would see that when linking and it would tell me the methods that are undefined. Now I checked and I do not have media-3.0 as a library. I do have the development library installed on this machine so I am at a loss why this is coming up.
Now if I just put the contents of wx-config --libs all into the linker properties I get a different error. I get a process terminated on status 127. I think the two issues are related somehow but I'm not sure which direction to head to troubleshoot and resolve it.