I'm building a WxWidget application targetting both Debian 64-bits and Debian armhf (Raspberry). I'm using eclipse as IDE running in a Debian 9.4 Virtualbox. The VB Host is Windows10.
The eclipse workspace is organized as tree projects :
- - one project set up for Debian 64-bits architecture
- one project set up for Debian armhf architecture (using multiarch)
- one project with common source files.
I installed WxWidgets for 64-bits with the following command:
Code: Select all
sudo apt install libwxgtk3.0-dev
Next, I like to cross-compile for armhf, so
Code: Select all
sudo apt install libwxgtk3.0-dev:armhf
However, the compilation of the 64-bit project is broken...
Apparently, the platform specific setting for WxWidgets are defined/declared in a file called
setup.h
this file is located at
Code: Select all
/usr/lib/PLATFORM/wx/include/gtk2-unicode-3.0/wx/
Code: Select all
x86_64-linux-gnu
Code: Select all
arm-linux-gnueabihf
My observation is that installing one version of the development package installs the correct setup.h, but also removes the other...
So, how do I setup WxWidgets for multi-arch compilation for both platforms?
Thanks in advance,
Paul