Windows 7 and C ++: cross-compilation application for use on Raspberry Pi

I recently got a Raspberry Pi, and I installed a Raspbian "raucous" image on it. My main development machine is running Windows 7, and I use Qt Creator as my development environment. I am trying to find a chain of tools that my main computer can use to compile my C ++ application for Raspberry Pi. I looked through all the places for tutorials and articles on how to do this, but all I can find are tutorials for compiling from linux to windows. Which is the opposite of what I'm trying to do. I also noticed that there is an image that comes with the Qt SDK, but I would rather use a Raspbian image. Could anyone find a way to get programs from windows there, so that there Pi? I am a serious newbie when it comes to cross compiling. D:

+5
source share
2 answers

I recently got myself a raspberry pi.

I usually develop Java and use NetBeans, but I started using NetBeans to develop applications in C and C ++. To do this, I installed Cygwin on my Windows 7 to be able to compile Windows-based applications.

However, I can also compile the application for my Raspberry Pi using the same NetBeans IDE. All I had to do was right-click on the project name in NetBeans, select Set build host, Manage Hostsand then a dialog box will appear. Select Addand enter your Raspberry Pi IP address in the host name field, then click Next.

Netbeans Raspberry Pi SSH, , SSH . Raspberry Pi Next. SSH- Raspberry Pi.

, "" .

+7

, . ( )

Linux , . Linux ;)

cygwin. Linux, gcc. , , .

, : - VirtualBox - Microsoft Virtual PC

+3

All Articles