-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation to build the website/docs locally #50
Comments
@say4n agreed. It's not entirely trivial to build the website, because it uses all the doxygen output from every stable version. This can take some time to build. In essence, the process is: put all versions of mlpack you want to build for in I'm not sure anymore what the right Ruby setup is; there is probably some setup there that isn't done automatically. The script that runs nightly to rebuild the mlpack-git documentation is |
@rcurtin, sorry for the late reply. I tried building the site, specifically I followed these steps:
CMake Error at /home/nippun/Desktop/mlpack.org/_src/mlpack-3.4.2/CMake/RunProgram.cmake:12 (message):
Fatal error running
/home/nippun/Desktop/mlpack.org/_src/mlpack-3.4.2/build/src/mlpack/bindings/markdown/generate_markdown:
/home/nippun/Desktop/mlpack.org/_src/mlpack-3.4.2/build/src/mlpack/bindings/markdown/generate_markdown:
symbol lookup error:
/home/nippun/Desktop/mlpack.org/_src/mlpack-3.4.2/build/src/mlpack/bindings/markdown/generate_markdown:
undefined symbol:
_ZN6mlpack2IO8HasParamERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
! What can be the problem here? Also, are there supposed to be any dependencies for markdown bindings? |
This looks like an |
Ahh, yes I was working on the threadsafe issue where IO is modified and I remember setting LD_LIBRARY_PATH for that libmlpack.so, maybe the error is coming because of that. Let me build the mlpack main branch and set LD_LIBRARY_PATH there. I will let you know if that works 👍 |
Yep, hopefully that should help. :) There shouldn't be any extra dependencies to build the markdown bindings; if you're just building them in mlpack (and not via the scripts in this repository), you should end up with a file called |
Recently there was a conversation on IRC asking about how to build the docs as well as the website locally.
I think it is a good idea to have the instructions present on this repository itself. I'll work on it if I have some free time this week, otherwise, feel free to work on it. :)
The text was updated successfully, but these errors were encountered: