mitsuaki1987 / fermisurfer

Fermi surface viewer providing multiple representation schemes
https://mitsuaki1987.github.io/fermisurfer/
11 stars 3 forks source link

Issue compiling with Apple Silicon (M2) #37

Open malharkute opened 6 months ago

malharkute commented 6 months ago

Hi,

I'm trying to compile/install Fermi Surfer on my M2 laptop. The configure step "./configure" runs without issue, but the "make" step gives me the following error:

ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [fermisurfer] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2

Is there a version released for the ARM64 architecture, or is there any change I can make to the Makefile to make compilation possible? Thanks for your help!

Dongsheng-Wen commented 4 months ago

Same here. Have you found a solution?

mitsuaki1987 commented 4 months ago

@malharkute @Dongsheng-Wen Thank you for reporting. Sorry I have not yet checked on M2 device. Could you provide configure.log, and copy of the standard output with make command?

Workarounds until fix this issue is to use FermiSurfer on a remote Linux machine with X11 forwarding, or Web browser version http://163.220.177.91/fsonweb/index.php which has a part of functions of original FermiSurfer.

minkyu-p commented 3 months ago

@mitsuaki1987 I have been also struggling for compilation on Apple Silicon M2. I attach my outputs. config.log stdout.log There seems no critical error in the log, but if I run an example file (e.g. mgb2_vfz.frmsf) I get 85953 segmentation fault. Moreover, no executable file is generated in the fermisurfer folder.