Hi I'm a beginner in wxwidgets programming I use codeblocks' drag n drop version of wxwidgets
I just recently completed my first serious project! A basic calculator, and I was thinking yeah I'm done so how do I actually make my application complete and distributable?
I went to my release folder under codeblocks wxwidgets bin directory, I found the project and for some reason it displays
"The program can't start because wxmsw311u_GCC_custom.DLL is missing from your computer...."
Any help! I'd appreciate!
Thanks!
codeblocks::wxwidgets project distribution Topic is solved
-
- Knows some wx things
- Posts: 30
- Joined: Tue Dec 11, 2018 1:38 pm
Re: codeblocks::wxwidgets project distribution
If you link wxWidgets dynamically, the executable requires the wxWidgets DLLs to run. In your case that means you'd have to install the wxWidgets DLLs globally or copy them to the directory of the executable.
If you want "self-contained" executables, you'll need to link wxWidgets statically.
These are configuration options in the IDE.
If you want "self-contained" executables, you'll need to link wxWidgets statically.
These are configuration options in the IDE.
Use the source, Luke!
Re: codeblocks::wxwidgets project distribution
Justo to be sure, this also requires having a static build of wxWidgets.doublemax wrote:If you want "self-contained" executables, you'll need to link wxWidgets statically.
These are configuration options in the IDE.
-
- Knows some wx things
- Posts: 30
- Joined: Tue Dec 11, 2018 1:38 pm
Re: codeblocks::wxwidgets project distribution
That makes sense! Thanks!!doublemax wrote:If you link wxWidgets dynamically, the executable requires the wxWidgets DLLs to run. In your case that means you'd have to install the wxWidgets DLLs globally or copy them to the directory of the executable.