I want to compile C++ programs directly on Windows 10IoT for Raspberry Pi 2.
Is this possible?
Related
i've a Raspberry pi 2 with the Amazon Kinesis Stream SDK (https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp) correctly running on board.
The compilation of the library was too long on the Raspberry pi 2, about 3H.
So the question, is there a way to pre-compile this library on a more powerful server and then copy the files on the Raspberry?
If it's possible i'd like to try this library also on Raspberry Pi Zero W (smaller in terms of size).
The installer instructions are here https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/install-instructions-linux.md
Thanks!
You could consider cross compiling your library - for example on a Linux PC. Cross compiling is very common. Think about App development targeting phones. You don't compile your code on the phone. You cross compile on a Mac or PC and then push your executable to the phone.
You can do the same with Raspberry Pi. Here are a couple links:
https://medium.com/#au42/the-useful-raspberrypi-cross-compile-guide-ea56054de187
https://hackaday.com/2016/02/03/code-craft-cross-compiling-for-the-raspberry-pi/
https://visualgdb.com/tutorials/raspberry/crosscompiler/
I am working on an academic project, as part of which I am developing an application that will run on Raspberry Pi (installed with Raspbian Jessy). I am using Qt to create UI for the application that will run on the Raspberry Pi.
I am trying to internationalize the application mentioned above. As part of the localization, Amharic is one of the languages I am working on. Unfortunately, Amharic is not fully supported in the internationalization process by Qt based on the following links below:
http://doc.qt.io/qt-4.8/internationalization.html
http://doc.qt.io/qt-5/internationalization.html
Considering this limitation how can I manage to find an alternative solution to use the Keyman AbysinicalSIL-R.ttf font in my application running on Raspberry pi?
I'm do a project to control a gpib-usb converter from national instruments. I will run the app on raspberry pi 2 using a windows 10 iot core. On this configuration, is only possible to do a universal app to run. That's what i do.
The library is in c/c++, so comes with a gpib-32.obj.
Here is the trouble, when i compile my universal app on raspberry pi, give me the error Error LNK1112 module machine type 'X86' conflicts with target machine type 'ARM'.
There is somehow i can do this app run? If i delete this file, the library don't work.
regards, vitor.
Your choices are to either recompile the library from the source code using the gcc that's on the raspberry pi or use C#.
When using the raspberry pi, I use the debian (raspbian) linux build. I researched the windows 10 for raspberry pi and found it to be a cruel joke intended to sabotage the raspberry pi project.
I have good luck running mono on the raspberry pi to get c# programs running without recompiling the program for the raspberry pi.
I hope this guides you in the right direction.
I've built a relatively simple oF app which uses several 3rd-party addons. I've created the project with the project generator, and coded the whole thing in Xcode on OSX.
Now, I need to use this app on a Raspberry Pi running Raspbian. I've successfully compiled the armv6 version of oF, but I now need to compile the actual project.
So far I thought of the following options:
Try to get code::blocks running on the Pi, install oF for codeblocks, recreate the project and build.
Try to set up Ubuntu as a virtual desktop on my mac, set up a cross-compiler like this, recreate the project and build.
Pretend to be a magician – set up the OSX project on the Pi so that I could maybe compile it with make, except I have no idea whether this is possible at all.
???
So my question is: Given a severe deficiency of time and general skill when it comes to linux/compiling C++, what is the easiest way for me to get my oF app running on the Pi?
Many thanks!
The absolute easiest (and perhaps even fastest when accounting for the extra cross-compiler setup time) way is to use a Raspberry Pi 2 and compile everything directly on the board using all 4 cores. It is actually quite quick and easy to set up. To set it up, follow these instructions:
http://forum.openframeworks.cc/t/raspberry-pi-2-setup-guide/
If you would like to use a more friendly IDE like Xcode, I would recommend developing your code on OSX and then copy the project folder over to the Pi2 and execute the makefiles as noted in the setup guide above.
I am currently trying to create a PAN on a jailbroken iOS device (iPad, in this case). On my Raspberry Pi I can achieve this using the bluez bluetooth stack and the pan daemon that comes with it. I thought if it could be possible to port bluez to the iOS device, unfortunately I don't really know enough about compiling - besides compiling stuff using a makefile I didn't do much in that regard.
I was able to get a gcc compiler onto the iPad using BigBoss's "installsdk3", but if I try to run configure on bluez it gives me Compiler cannot create executables.
Does anybody know if this is possible, how or can give me directions how this could be achieved? I know that xcode on the mac comes with a c++ compiler for iOS, but I couldn't really find out how to get the makefile to make use of it.
Bluez is specifically a Linux bluetooth stack. OS X and iOS are based on BSD which though similar to Linux is not the same. I very much doubt you can run bluez on iOS.
Instead look into Apple's own bluetooth stack.
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/AboutCoreBluetooth/Introduction.html
BlueZ is the user mode part of the Bluetooth stack. It depends on a kernel mode component, which exists in the Linux kernel but not BSD (as mentioned in other answers, what Mac OS is based on). Hence BlueZ cannot work with a Mac OS kernel.
AFAIK, there is no way to run Mac OS with a Linux kernel.