no, sure, but you don't see the point:
It's the overcomplicated fumbling with millions of nitty-gritty details to get everything prepared.
I myself am now finally starting to program my programs, but what a forced march to finally get there! After 6 months preliminary work and setbacks!
the #include headers are no issue of course. But they also are more ectensive than it might be inevitably necessary:
Code: Select all
all that just for GPIO, graphics, I2C, and UART.
hell, that's long enough to sink a ship!
In Arduino it's
Code: Select all
the same about build parameters
g++ -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -o myfile myfile.c -lshapes -L/opt/vc/lib -lOpenVG -lEGL
For Arduino I don't need any.
I don't have to install all the libs, they are already in the Arduino libraries folder and just have to be #included.
I don't have to do all this stuff:
http://www.mindstormsforum.de/viewtopic ... 689#p67768
http://www.mindstormsforum.de/viewtopic ... =15#p67785
For Arduino it's already there, GPIO acces is just read/write digital, read/write analog, gladly wiringPi offers similar functions.
I don't have to patch all system entries like this
http://www.mindstormsforum.de/viewtopic ... =15#p67813
For Arduino it's already finished and ready to use.
Always the same: before being able to use a lib, it's 1 week or even much more for preparation the OS, the files, and everything, that is SO annoying!
Why do you think does it takes 3 entire websites to show what one has to do for Geany, openVG, GPIOs, UART, and I2C?
Because one has to do all and everything from the scratch, nothing is "already there": 6 months for setting up all that.
And having all that already availalbe is what would be actually needed if it was suitable for beginners.
Once having done that, I can start programming, Geany is (mostly) configured correctly, I wouldn't change that IDE anew - so now I'm fine, I have almost mastered the biggest hurdles (as it seems FTM), I just have started programming now a remote control.
What a success!
Just curious about the next unexpected setback.
But all over, a challenge and strain which is not reasonable and not acceptable for a C-learning (complete) newbie IMO.