If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
The wxwidgets console application doesn't stop in Ubuntu. I comments out everything except a simple wx include, the program sill doesn't stop. Here is my code:
I know where the problem come from. I linked to a shared library testshared-debug.so. After I remove the linked library, everything is back to normal. But I'm confused. Here are my questions:
1. Why does this shared library affect my program? I don't use any function from it.
2. Why the linked shared library will affect execution of my program? Because of memory leak?