Open Venemo opened 9 years ago
Probably a 64bit vs. 32bit issue. We used the boost serialization with a binary format, because it was much faster than the plain text one. You can probably modify it to use the plain text format: Loading: https://github.com/alacarte-maps/alacarte/blob/master/src/general/geodata.cpp#L166 Saving: https://github.com/alacarte-maps/alacarte/blob/master/src/general/geodata.cpp#L190
Be also aware of the version of the serializer! The serializer version on the system where you want to use alacarte-server
must be equal or greater compared to the version where you run alacarte-importer
. That's because the boost serializer
can deserialize archives of an older version of boost serializer
, but not vice versa (isn't that always the case^^). This is important if you use different distros, because one might ship a newer boost version (arch vs ubuntu for example).
I'd like to run alacarte on a Raspberry Pi (which has an ARMv6 CPU). I thought that I can use
alacarte-importer
on my laptop and then copydata.carte
to the Raspberry Pi. However it didn't work.alacarte-server
on the Raspberry Pi couldn't use thedata.carte
file that was generated on my x86_64 laptop.