Search code examples
c++wxwidgets

Visual C++ wxWidgets app does only work on my PC


I developed an app in visual studio using wxWidgets everything works fine on my machine. I tried to run my app on a different pc and i got errors like "ucrtbase.dll missing" etc. Then i tried to change to Multithreaded(/MT) mode and to changed debug to release mode but then i cant run the app on my pc because everything from wxWidgets gets red underline.


Solution

  • You can simplify your life greatly ( and the life of your users! ) by statically linking to your libraries.

    This is a big topic, but the first thing to do is to read up on how to build and link to the static wxWidgets libraries.

    Give it a try and then ask individual questions when you hit problems.