MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
663 stars 152 forks source link

make: *** [all] error 1 #65

Open hbwanghang opened 2 years ago

hbwanghang commented 2 years ago

微信图片_20211115204129 How to solve this error reported by make all

NedaZand commented 2 years ago

Hi @hbwanghang Could you fix it?

mahdi943 commented 2 years ago

Hi @NedaZand I also got this error while installing by 'make all' image

mahdi943 commented 2 years ago

@TimoBolkart

Could you please help me to fix this error? I am using: 1-Ubunto wsl on windows 2-python 3.8.6 3-virtualenvs

NedaZand commented 2 years ago

Hi @mahdi943 Yes, I fixed it Please send me an email to discuss about it. Neda.zand96@gmail.com

Daksitha commented 2 years ago

any luck?

mahdi943 commented 2 years ago

any luck?

downgrading to python 3.6 worked.

shanzhajuan commented 2 years ago

I have fixed this: I am using: 1-Ubunto wsl on windows 2-python 3.6.13 3-anaconda virtualenvs I got the error 1 with :
unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1 (see photo below) I follow https://linuxtect.com/the-error-command-gcc-failed-with-exit-status-1-error-and-solution/ , sudo apt install build-essential sudo apt install python3-dev sudo apt install libxslt-dev libffi-dev libssl-dev then, make success. image

karan00713 commented 2 years ago

hi @mahdi943 @NedaZand I'm using wsl ubuntu 20.04 python 3.6.15 virtualenv

this command $ BOOST_INCLUDE_DIRS=/path/to/boost/include make all gives the error make: *** No rule to make target 'all'. Stop.

could you help me please !

Daksitha commented 2 years ago

You have to replace the path with the actual path in your system. If you install the boostlibs you could simply run "make all" command

On Wed, Feb 16, 2022 at 2:18 PM Karan K S @.***> wrote:

hi @mahdi943 https://github.com/mahdi943 @NedaZand https://github.com/NedaZand I'm using wsl ubuntu 20.04 python 3.6.15 virtualenv

this command $ BOOST_INCLUDE_DIRS=/path/to/boost/include make all gives the error *make: ** No rule to make target 'all'. Stop.

could you help me please !

— Reply to this email directly, view it on GitHub https://github.com/MPI-IS/mesh/issues/65#issuecomment-1041482383, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX5QGDV2DUV5MWA46ZLWKDU3OPYZANCNFSM5IBTA7NQ . You are receiving this because you commented.Message ID: @.***>

XIANGLINYUN commented 2 years ago

Hi, did you solve it?

shanzhajuan commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。你好,我已经收到了您的邮件,会尽快处理。

becausejustyn commented 2 years ago

I had the same issue and fixed it by using

export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

Note: Use at your own risk because I am not sure what this does. I found the potential solution here: https://github.com/astropy/halotools/issues/813

shanzhajuan commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。你好,我已经收到了您的邮件,会尽快处理。

EnnaSachdeva commented 4 months ago

This worked for me: $ whereis boost gives: /usr/include/boost $ git clone https://github.com/MPI-IS/mesh $ cd mesh $ BOOST_INCLUDE_DIRS=/usr/include/boost/ make all