Closed pengyu closed 5 years ago
I have compiled makedict
against macOS Sierra 10.12.3.
First, I installed cmake
and gettext
via Homebrew:
brew install cmake gettext
Then I installed libintl
from Rudix.org.
Then there is a bug #15. You have to include cstdlib
in src/file.hpp
:
diff --git a/src/file.hpp b/src/file.hpp
index e9f714b..be8d925 100644
--- a/src/file.hpp
+++ b/src/file.hpp
@@ -3,6 +3,7 @@
#include <cstdio>
#include <string>
+#include <cstdlib>
/**
* Wrapper around FILE, because of std::fstream can not
After that:
export PATH="/usr/local/opt/gettext/bin:$PATH"
cd xdxf_makedict
cmake .
make
sudo make install
I am closing the issue, because the converter has been deprecated. Please use other converters like pyglossary.
I get the following errors when I try to compile xdxf_makedict. Has anybody tested it on Mac OS?