03-18-2019, 04:25 PM
(03-18-2019, 10:04 AM)GSalvato Wrote:(03-18-2019, 08:44 AM)Brian Beuken Wrote: Why is easy...editing and compiling on one machine then sending to another to run and debuh is how all professional game coders work, Ideally use a Pc like they do, but its clear some people just hate the idea of using a windows pc, or can't afford it, so 2 Pis, gives another option
Why would you install raspberry on a pc?? Think you've misunderstood the intention.
I think building and using SCP or similar is the one of thebest options, code needs to be transferred, but then also need GDB to run on the target so that needs and SSH style connection and an IDE on the dev system thats receptive to it....
I still say, use a Pc..use the right tools for the job.
Well.. apart from compilation speed (that is the same if you use another Pi) the only reason I see to use two connected Pis is that the Ide use a lot of RAM.
Apart this I continue to prefer to use VNC to connect to mi Pi and develop/debug on the same.
Gabriele
Well consider also,mainly I write games, so I need my full screen to be visialble in real time at all times, having the dev system control debugging means I can step through code easily and see the results on the target.
There would of course be no difference in compile speed, but easy of debugging is considerably improved.
Even with a PC, which is capable of much faster compile speeds, I prefer to do my compiles on target, and allow the make file to only compile changed files so its pretty effective. Since its the debugger and other runtime thngs that I want to see in action, which is just much harder if my IDE is on the running machne as well.
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's