How to cross compile wxwidgets application for windows under linux -


i have installed cross compilers "x86_64-w64-mingw32-g++" , "i686-w64-mingw32-g++" build 32 bit , 64 bit applications , have downloaded source code of wxwidgets 3.0.3.

  1. how build source usable cross compiler?
  2. which commands have send compiler build wxwidgets application?

how have built source usable cross compiler?

i'd suggest using prebuilt binaries, rather trying cross compile wxwidgets library mingw. compiling own application cross difficult enough without headache of trying use same process make windows version of libraries need build system developers provided.

when use mingw in linux, you'll need accessible headers, libraries, , dlls (if don't static compile) project compiling windows target. linux version of these won't work.

and commands have send compiler build wxwidgets application?

it's no different building linux platform, save you'll need accommodation windows versions of stated above. commands you'll send compiler build application subjective project, you'll need include headers in build, , you'll need link windows libraries in linking, if don't static compile of this, you'll need wxwidgets dll run application.

i've been cross building applications using method quite while. works great, being it's complex process , i'm not great @ it, tend use many pre-built, and/or header-only libraries can, cuts down on complication of cross building application.

and while encourage learn how yourself, encourage if learning how end goal. if need build application, i'd sooner encourage mingw setup in native windows.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -