News for hackers. Stuff that matters.
Re:My Own Car System, Rear Camera, Offline Maps and Routing ... by dev_dull on Wednesday August 01, 2018 @12:27PM (#17664023)
> In Part I, I had to patch qtmultimedia for the camera to work, but Qt compilation is ressource hungry, same goes for the osrm compilation, the memory of the Raspberry Pi is too small

I was just thinking about this today. Is it possible to set up an arm VM for “dev” and port the binaries over to the RPI?

Re:My Own Car System, Rear Camera, Offline Maps and Routing ... by vetrom on Wednesday August 01, 2018 @04:55PM (#17666903)
With a not insane amount of work you can get a cross compile toolchain up and at least make binaries. Not a lot of packaging systems focus on the cross-compile workflow for package generation though. (I mean there are some, but it's not exactly the standard for fedora or debian.)
Re:My Own Car System, Rear Camera, Offline Maps and Routing ... by inferiorhuman on Wednesday August 01, 2018 @07:21PM (#17667959)
Cross compiling is doable and easier with the newer versions of Debian. One Qt issue I had is that a bunch of stuff is dependent upon OpenGL, which wasn't well supported with the Pi stuff when I was poking around at it. Qt is also just a beast to cross-compile.

Rust is much, much nicer to cross compile but lacks a nice GUI. I've been poking at Cursive.rs for TUI stuff in an attempt to hack up my own scan tool so we'll see where that goes.

Re:My Own Car System, Rear Camera, Offline Maps and Routing ... by akhenakh on Wednesday August 01, 2018 @12:58PM (#17664380)
qemu is capable of emulating an ARM cpu so yes but won't be able to emulate all the real hardware, especially the opengl ES gpu. From a compilation perspective I believe using a cross compiler is way more efficient than emulating the whole system.
Re:My Own Car System, Rear Camera, Offline Maps and Routing ... by microcolonel on Wednesday August 01, 2018 @03:44PM (#17666232)
> ...especially the OpenGL ES GPU...

Does Virgil3D not work in DBT QEMU targets?

Generally agree that cross-compilation is a better solution, but I think it could also be nice to have everything (except the drivers for your actual hardware) tested as delivered.