Closed MrAureliusR closed 5 months ago
At first glance, it looks like ReadBlockRequest.h needs #include <algorithm>
and then that line needs to be changed to std:::copy_n() ... going to give that a try.
EDIT: Nope, same error. Strange as std::copy_n is defined in <algorithm>
according to all the docs I can see, unless this codebase has defined its own version?
EDIT 2: I read the error wrong! It was for the next file. So adding #include <algorithm>
to the headers for those cpp files fixed the issue. I can make a pull request if desired!
Thank you for reporting that. There was lot of activities in a past days and I'm behind with updating the doc. Major change is that the fujinet-pc code was merged into main fujinet-firmware repository. I've added missing algorithm includes into fujinet-pc repository to fix the errors. However the proper repository for fujinet firmware inluding fuijinet-pc is now at: https://github.com/FujiNetWIFI/fujinet-firmware I will update build instructions soon. For now if you want to build from that repository, there is a build script part of repo. It can be used to get FujiNet-PC :
cd fujinet-firmware
# build FN-PC for ATARI target
build.sh -p ATARI
# or build FN-PC for APPLE target
build.sh -p APPLE
# result is always in build/dist subdirectory
Almost at the very end of the build... and then it fails with this error: (followed directions in README exactly)
This looks like it might be a GCC version or glibc version thing -- I don't know CMake very well, does it explicitly declare a C++ standard to build to?