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

Install MiXeR failed #72

Open
Chloe-XiaoWu opened this issue May 3, 2023 · 5 comments
Open

Install MiXeR failed #72

Chloe-XiaoWu opened this issue May 3, 2023 · 5 comments

Comments

@Chloe-XiaoWu
Copy link

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.

@ofrei
Copy link
Contributor

ofrei commented May 3, 2023

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

@Chloe-XiaoWu
Copy link
Author

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.

@Chloe-XiaoWu
Copy link
Author

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

@ofrei
Copy link
Contributor

ofrei commented May 16, 2023

@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.

@zainab-cpu
Copy link

@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

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

3 participants