RastaConverter
RastaConverter copied to clipboard
Build errors on Linux Mint 18.3 with Allegro 4.4
I recently downloaded the source and tried to build RastaConverter on a Linux Mint 18.3 64bit workstation. I received the following errors:
...
rasta.cpp: In member function ‘void RastaConverter::LoadOnOffFile(const char*)’:
rasta.cpp:664:65: error: no matching function for call to ‘transform(std::__cxx11::basic_string
rasta.cpp:1536:3: error: ‘__timeb64’ was not declared in this scope __timeb64 t; ^ rasta.cpp:1537:11: error: ‘t’ was not declared in this scope _ftime(&t); ^ rasta.cpp:1537:12: error: ‘_ftime’ was not declared in this scope _ftime(&t); ^
...
d7577 ~/source/RastaConverter/src $ g++ --version g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
d7577 ~/source/RastaConverter/src $ cc --version cc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Any help you can provide would be appreciated.
Thanks!
Indeed, this code is a non-portable Microsoft extension.
Resolved in Beta9