Install MiXeR failed
Chloe-XiaoWu opened this issue · 5 comments
Hi,
I got an error when installing MiXeR using the second method.
:~/mixer# cmake .. && make bgmg -j16
CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt.
I used 'locate', 'find' and 'whereis' to find the location of this file, but can't find it. I'd like to ask what I should do.
I have never used C++ programming and am not sure if this problem is associated with c++ compiler. When I first use this command, it was not found, so I installed it by myself (apt-get install cmake). My Ubuntu system Version is 20.04.0. I have Python3 with NumPy, numdifftools, and matplotlib_venn, GCC compiler, and the Boost library.
Hi @Chloe-XiaoWu do you have possibility to use singularity ( https://docs.sylabs.io/guides/2.6/user-guide/index.html# ) in your environment? MiXeR is also released as a singularity container, see here https://github.com/comorment/mixer , it should be easier to deploy this
Hi,
I have tried to install Singularity on my Ubuntu. But I don't seem to have the root permission and failed many times. I use the same system with my colleague, and she also has trouble with singularity when using it. So I chose the second installation method.
I solved this problem by installing a new version boost and cmake (https://www.debugpoint.com/cmake-command-not-found/). Besides, I also add some code
:# apt-get install tcl-dev tk-dev mesa-common-dev libjpeg-dev libtogl-dev# apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev
:
@Chloe-XiaoWu great to know this is solved! And sorry for somewhat outdated toolchain. If you could make a pull request with changes that worked for you I'd be happy to merge it in.
@Chloe-XiaoWu I've tried the solution you mentioned, but it didn't work for me. I got this error.
Make Error in CMakeLists.txt:
Imported target "Boost::program_options" includes non-existent path
"/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
-
The path was deleted, renamed, or moved to another location.
-
An install or uninstall procedure did not complete successfully.
-
The installation package was faulty and reference files it does not
provide.
-- Generating done
CMake Warning:
Manually specified variables were not used by the project:
BOOST_ROOT
CMake Generate step failed. Build files cannot be regenerated correctly.
Even though I installed the new version of Boost and cmake. Kindly help me out in this matter @ofrei @Chloe-XiaoWu