I’m trying to design a very simple project on Raspberry Pi, which is rotating a 3D object by USB mouse or joystick.
But I don’t want to design and compile the project in RPi because of its limited resources.
I want to design the project in Windows platform, and compile it for armv7 (right?) so that I can run it in RPi.
Now, here are my questions:
What do I have to install in Windows so as to be able to design/compile the project?
What libraries, packages, and dependencies have to be installed in RPi, so as to be able to run the game?
Are there simple examples of similar projects? So that I can learn the basics?
Thanks a lot.
Your time and help are highly appreciated.
There is prebuilt Urho3D binary in the deb format so you can use “dpkg -i /path/to/deb/file” to install it. Having said that, that is usually not you want especially when you are just getting started in learning 3D game programming or any software programming in general. You are better off compiling it from source. Additionally Urho3D is not an end product, it is just a library. One way or another you still need to get over the hurdle to set up a build environment where you can start developing/designing your game. The link I gave you earlier only contains information specific to Urho3D library building. There are a few essential development packages that you need to install that are not listed there, especially when you just got yourself a stock Ubuntu installation. Something like “build-essential” and package providing an OpenGL API implementation. Good luck.
We do exactly that, program and debug i Visual studio (2012 i think…), and cross compile on our windows machines, but actually run the code on the Raspberry Pi.
The compiled files are sent to the Pi, and i can have breakpoints and step in the code like normally.
This is done with the help of VisualGDB, a plugin(?) to visual studio.
I cant tell you how its done, because its wery complicated and beond my understanding. My companies tech guy sat it up.
It works mostly fine, but there are issues with intellisense simetimes, and cashed versions of source code can give you surprises sometimes.
If this sounds intresting I could ask our expert to give a short explenation of the components and how they are sat up.
You can try the tool chain from http://gnutoolchains.com/raspberry/tutorial/ if you want to compile directly from Windows - I’ve used it for other things, though I’m not certain I ever tried Urho with it. Now I use Ubuntu, and I find it’s much easier…