Mac can not build

+2 votes
hi。I update 2.0-dev branch to https://github.com/MultiChain/multichain/commit/caa4d73cafef76910efea5f2911d2c4b316adce1 .

It's fix that 【https://www.multichain.com/qa/9951/sierra-compile-conversion-__map_iterator-__tree_iterator?show=9951#q9951】

but when i keep on build. I get a new error

------------------------

mbp:multichain like$ make
Making all in src
  CXX      utils/multichain_libbitcoin_multichain_a-systemdependent.o
utils/systemdependent.cpp:236:9: error: use of undeclared identifier 'fdatasync'
        fdatasync(FileHan);
        ^
1 error generated.
make[1]: *** [utils/multichain_libbitcoin_multichain_a-systemdependent.o] Error 1
make: *** [all-recursive] Error 1
mbp:multichain like$

=============

My os is  macOS10.12

fdatasync can not use in this os. what should i do?

thanks
asked Jul 17, 2018 by liutao0532dev

1 Answer

+1 vote
Thanks, we're still working on alpha 4 which will fix Mac compilation. In the meantime you might find this helpful: https://github.com/gbrault/picoc/issues/145
answered Jul 19, 2018 by MultiChain
...