Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: papafreebird on May 26, 2008, 12:28:29 am
-
Hopefully this is not considered a programming topic and won't get closed.
I need help getting my executable to be self sufficient. My program will not run on other linux systems without the user first installing an external library libwxgtk2.8-0-ansi. I would like to include that library into my executable so that the end user will not have to install anything else other than my program.
Any help would be appreciated.
-
You have to link to a static library, here I give you a link to the wxwidgets compilation wiki page:
http://wiki.wxwidgets.org/Compiling_WxWidgets
You should ./configure --help to see a list of available flags before compiling.
-
Thanks I appreciate the link. I didn't compile wxwidgets. I installed them through synaptic package manager of Ubuntu linux. Are you saying I need to compile my own wxwidgets as a static library?