|
From: | Gerardo Ballabio |
Subject: | Re: [Mingw-cross-env-list] Mxe gtkmm cross compiled project |
Date: | Tue, 2 Apr 2019 17:54:03 +0200 |
I think i solved the problem. I was compiling using the i686-w64-mingw32.static not the shared. I am currently downloading and building the shared version ! Hope it helps.Another problem is the theme. After cross compiling and running the application the theme is not native to windows. Is there a way to edit the theme ?Thanks !Le mar. 2 avr. 2019 à 14:27, Kjetil Matheussen <address@hidden> a écrit :On Tue, Apr 2, 2019 at 3:19 PM Mohamed Khalil BOUJDARIA
<address@hidden> wrote:
>
> Hey list !
>
> I'm trying to cross compile a simple gtkmm project on ubuntu for windows using CMake. I have successfully generated the .exe file. However its size is too large (over 100 Mb). All i have is a simple main that spawns an empty window (the simple example in gtkmm tutorials). I tried to only include the necessary headers for gtkmm not the gtkmm.h but it's still the same problem. I get a 120.9 Mb file.
>
Hi, did you strip the binary for debug symbols? (don't know if it
strips down that much though...)
x86_64-w64-mingw32.shared-strip
i686-w64-mingw32.shared-strip
--Mohamed Khalil BOUJDARIAÉlève ingénieur en mécatroniqueÉcole nationale d'ingénieurs de CarthageTél : +21653283365/+21652054010
[Prev in Thread] | Current Thread | [Next in Thread] |