Skip to content
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

Installation and compilation of idock under Ubuntu18 #1

Open
tobigithub opened this issue Mar 24, 2020 · 2 comments
Open

Installation and compilation of idock under Ubuntu18 #1

tobigithub opened this issue Mar 24, 2020 · 2 comments

Comments

@tobigithub
Copy link
Owner

tobigithub commented Mar 24, 2020

Compiling idock with boost and ubuntu18
Basically it requires boost and clang to compile.

  1. sudo apt update
  2. sudo apt-get install libboost-all-dev
  3. mkdir idock
  4. cd idock
  5. wget https://github.com/HongjianLi/idock/archive/master.zip
  6. unzip master.zip
  7. cd idock-master
  8. sudo apt-get install clang-9 clang-tools-9 clang-9-doc libclang-common-9-dev libclang-9-dev libclang1-9 clang-format-9 python-clang-9 clangd-9
  9. apt install clang
  10. sudo apt install nvidia-cuda-toolkit
  11. make
~/idock/idock-master$ make
clang++ -std=c++11 -O2 -o obj/io_service_pool.o src/io_service_pool.cpp -c -I
clang: error: argument to '-I' is missing (expected 1 value)
Makefile:22: recipe for target 'obj/io_service_pool.o' failed
make: *** [obj/io_service_pool.o] Error 1
@tobigithub
Copy link
Owner Author

check g++ and clang++ versions

g++ --version
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 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.

tkind@instance-1:~/idock/idock-master/utilities$ clang++ --version
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
tkind@instance-1:~/idock/idock-master/utilities$ 

@tobigithub
Copy link
Owner Author

tobigithub commented Mar 24, 2020

Reverting back to v2.2.3
https://github.com/HongjianLi/idock/archive/v2.2.3.tar.gz

  1. wget https://github.com/HongjianLi/idock/archive/v2.2.3.tar.gz
  2. tar xvzf v2.2.3.tar.gz
  3. cd idock-2.2.3/
  4. make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant