Hey future self...
Just dumping a memory to Google and Google+ in the hope if I ever search for this it'll be high up there.
Remember when you used friidump and it didn't work? It compiled, but immediately died? You then spent 2-3 hours rebuilding a machine because you thought it was the hardware?
It wasn't. It was because it doesn't work in 64-bit. You remembered you'd gone through all this before of course, but only after the rebuild. You remembered you'd got it to compile in 32-bit before and got it working. But only after 4 hours of tearing apart a decent machine to build a fairly poor one.
Now you've got to rebuild that good machine and see if that SATA->IDE interface works with the drive now and the the software works in 32-bit mode just to check it was purely a software thing. Just to check.
So. How to fix it, just in case you lose the fix again?
Well... it's a TODO as you write this you aren't in the right place to get the actual code.
Add the 32-bit libraries with apt-get...
Get cmake add the -m32 flags to the C and C++ and Linker options to change the architecture to 32-bit mode befire running cmake in the BUILD directory and it will all work.
This may help others too. but like I say... this is a "Note to Self" ^_^
Just dumping a memory to Google and Google+ in the hope if I ever search for this it'll be high up there.
Remember when you used friidump and it didn't work? It compiled, but immediately died? You then spent 2-3 hours rebuilding a machine because you thought it was the hardware?
It wasn't. It was because it doesn't work in 64-bit. You remembered you'd gone through all this before of course, but only after the rebuild. You remembered you'd got it to compile in 32-bit before and got it working. But only after 4 hours of tearing apart a decent machine to build a fairly poor one.
Now you've got to rebuild that good machine and see if that SATA->IDE interface works with the drive now and the the software works in 32-bit mode just to check it was purely a software thing. Just to check.
So. How to fix it, just in case you lose the fix again?
Well... it's a TODO as you write this you aren't in the right place to get the actual code.
Add the 32-bit libraries with apt-get...
Get cmake add the -m32 flags to the C and C++ and Linker options to change the architecture to 32-bit mode befire running cmake in the BUILD directory and it will all work.
This may help others too. but like I say... this is a "Note to Self" ^_^