How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Parduz
(sorry for my english, i'm italian)

I need to develop and debug a wxWidgets app on Windows, and then release it on a Debian (Jessie) based Beaglebone Black board.
So i'm setting up my develop environment, making a Linaro arm-linux-gnueavihf toolchain working on my ide.
I'm able to crosscompile console applications, so now i need to .... "integrate" wxWidgets in my environment.
I've downloaded the 3.1.0 sources and tried to compile for the board, without any success.

I'm stuck in the "configure" step....
This and this are the ouput of my CMD windows, followed by the configure.log (by using two different toolchains just to try get unstuck).

Could someone help me in sorting this out?

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Vadim Zeitlin-4
On Fri, 10 Feb 2017 02:32:06 -0800 (PST) Parduz wrote:
P>
P> I need to develop and debug a wxWidgets app on Windows, and then release it
P> on a Debian (Jessie) based Beaglebone Black board.
P> So i'm setting up my develop environment, making a Linaro
P> arm-linux-gnueavihf toolchain working on my ide.
P> I'm able to crosscompile console applications, so now i need to ....
P> "integrate" wxWidgets in my environment.
P> I've downloaded the 3.1.0 sources and tried to compile for the board,
P> without any success.
P>
P> I'm stuck in the "configure" step....
P> This <http://pastebin.com/gumFg71T> and this <http://pastebin.com/M1QSmgrR>
P> are the ouput of my CMD windows, followed by the configure.log (by using
P> two different toolchains just to try get unstuck).
P>
P> Could someone help me in sorting this out?

 The problem seems clear enough: you don't have GTK+ libraries/headers for
your target system, but you need them to use wxGTK, of course. So the
solution is either to cross-compile GTK+ itself first (which is a
non-trivial undertaking considering all of its dependencies...) or find a
binary package of it and make sure it can be found on the host system.

 Good luck,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Parduz
Ok... thanks.
So, what's the best route to take to develop and compile on Windows an app that runs on a BBB with a Jessie image? The only requirement i have is to avoid to compile on the BBB, and not to build a Linux VM to compile until proven that it will be impossible under Windows....

Thanks

Il giorno venerdì 10 febbraio 2017 17:32:42 UTC+1, Vadim Zeitlin ha scritto:
On Fri, 10 Feb 2017 02:32:06 -0800 (PST) Parduz wrote:
P>
P> I need to develop and debug a wxWidgets app on Windows, and then release it
P> on a Debian (Jessie) based Beaglebone Black board.
P> So i'm setting up my develop environment, making a Linaro
P> arm-linux-gnueavihf toolchain working on my ide.
P> I'm able to crosscompile console applications, so now i need to ....
P> "integrate" wxWidgets in my environment.
P> I've downloaded the 3.1.0 sources and tried to compile for the board,
P> without any success.
P>
P> I'm stuck in the "configure" step....
P> This <<a href="http://pastebin.com/gumFg71T" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FgumFg71T\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFJjxMZ5flO1LskLsdNSCTBqT9dTg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FgumFg71T\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFJjxMZ5flO1LskLsdNSCTBqT9dTg&#39;;return true;">http://pastebin.com/gumFg71T> and this <<a href="http://pastebin.com/M1QSmgrR" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FM1QSmgrR\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGzb4mOmolerEJE9Fw-sWquo4hP9Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FM1QSmgrR\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGzb4mOmolerEJE9Fw-sWquo4hP9Q&#39;;return true;">http://pastebin.com/M1QSmgrR>
P> are the ouput of my CMD windows, followed by the configure.log (by using
P> two different toolchains just to try get unstuck).
P>
P> Could someone help me in sorting this out?

 The problem seems clear enough: you don't have GTK+ libraries/headers for
your target system, but you need them to use wxGTK, of course. So the
solution is either to cross-compile GTK+ itself first (which is a
non-trivial undertaking considering all of its dependencies...) or find a
binary package of it and make sure it can be found on the host system.

 Good luck,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               <a href="http://www.tt-solutions.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tt-solutions.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.tt-solutions.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw&#39;;return true;">http://www.tt-solutions.com/

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re[2]: How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Vadim Zeitlin-4
On Mon, 13 Feb 2017 01:51:18 -0800 (PST) Parduz wrote:

P> So, what's the best route to take to develop and compile on Windows an app
P> that runs on a BBB with a Jessie image?

 Sorry, I don't know. I've always done my cross-compiling from Linux, and
while I think it should be possible to do it from Windows too, I have no
idea why would I make my own life intentionally more difficult.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Steve Barnes
In reply to this post by Parduz


On 13/02/2017 09:51, Parduz wrote:
> Ok... thanks.
> So, what's the best route to take to develop and compile on Windows an
> app that runs on a BBB with a Jessie image? The only requirement i have
> is to avoid to compile on the BBB, and not to build a Linux VM to
> compile until proven that it will be impossible under Windows....
>
> Thanks
>

Parduz,

Which version of Windows are you running, if Windows 10 then the "Bash
on Ubuntu on Windows" should provide all of the tools that you need to
build both GTK+ and wxWidgets. It is supposed to be a lot more
compatible than Msys or MinGW.

See:
http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/

--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Parduz
Windows7 64.

Il giorno martedì 14 febbraio 2017 07:29:36 UTC+1, Gadget Steve ha scritto:


On 13/02/2017 09:51, Parduz wrote:
> Ok... thanks.
> So, what's the best route to take to develop and compile on Windows an
> app that runs on a BBB with a Jessie image? The only requirement i have
> is to avoid to compile on the BBB, and not to build a Linux VM to
> compile until proven that it will be impossible under Windows....
>
> Thanks
>

Parduz,

Which version of Windows are you running, if Windows 10 then the "Bash
on Ubuntu on Windows" should provide all of the tools that you need to
build both GTK+ and wxWidgets. It is supposed to be a lot more
compatible than Msys or MinGW.

See:
<a href="http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.howtogeek.com%2F249966%2Fhow-to-install-and-use-the-linux-bash-shell-on-windows-10%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7DPt_1-1L3yi0_4WF7QcNaoJI5g&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.howtogeek.com%2F249966%2Fhow-to-install-and-use-the-linux-bash-shell-on-windows-10%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF7DPt_1-1L3yi0_4WF7QcNaoJI5g&#39;;return true;">http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/

--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Heinz Hummel
In reply to this post by Parduz
Why don't you develop in on Windows completely and finally - when everything works as expected - compile it once on your BBB? It is powerful enough to do that job.

Am Freitag, 10. Februar 2017 13:32:11 UTC+1 schrieb Parduz:
(sorry for my english, i'm italian)

I need to develop and debug a wxWidgets app on Windows, and then release it on a Debian (Jessie) based Beaglebone Black board.
So i'm setting up my develop environment, making a Linaro arm-linux-gnueavihf toolchain working on my ide.
I'm able to crosscompile console applications, so now i need to .... "integrate" wxWidgets in my environment.
I've downloaded the 3.1.0 sources and tried to compile for the board, without any success.

I'm stuck in the "configure" step....
<a href="http://pastebin.com/gumFg71T" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FgumFg71T\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFJjxMZ5flO1LskLsdNSCTBqT9dTg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FgumFg71T\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFJjxMZ5flO1LskLsdNSCTBqT9dTg&#39;;return true;">This and <a href="http://pastebin.com/M1QSmgrR" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FM1QSmgrR\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGzb4mOmolerEJE9Fw-sWquo4hP9Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fpastebin.com%2FM1QSmgrR\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGzb4mOmolerEJE9Fw-sWquo4hP9Q&#39;;return true;">this are the ouput of my CMD windows, followed by the configure.log (by using two different toolchains just to try get unstuck).

Could someone help me in sorting this out?

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: How to compile wxWidgets n Windows7 to run on BeagleBone Black with Debian - Jessie

Parduz
Mostly 'cause:
- It will be an ongoing project, more or less modified daily for the next couple of years,
- We want to be able "produce" everything on windows and just "copy" a ready binary file on the boards.

Using a board to compile is slow and subject to change a lot of OS/whatever versions in the years.


Il giorno mercoledì 15 febbraio 2017 13:41:44 UTC+1, Heinz Hummel ha scritto:
Why don't you develop in on Windows completely and finally - when everything works as expected - compile it once on your BBB? It is powerful enough to do that job.

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users