User forums > Help

how to create statically linked apps using codeblocks+wxWidgets on Linux

(1/1)

ciremai:
hello guys, I want to learn to create wxWidgets apps using Code::Blocks 16.01 on Salix Linux. and I have a couple of a questions.
I have installed codeblocks with wxWidgets-2.8.12. the wxWidgets was configured with

--enable-shared --enable-debug

the questions are
1. how to create a statically-linked wxWidgets App so that I would be able to run the app in other computer without installing wxWidgets library? 
2. considering this wxWidgets-codeblocks configuration, can I create a wxWidgets-3 apps? If I choose to create a wxWidgets-3 project that available in the create-new-project-wizard the output is still in 2.8.12 version.

Thanks

stahta01:
Step 1: Build a static wxWidgets of the version you want to use.
Step 2: Learn about your Linux Distro on how to test wx-config to default to the correct version of wxWidgets.

Please read the rules http://forums.codeblocks.org/index.php/topic,9996.0.html

Tim S.

Navigation

[0] Message Index

Go to full version