These changes allow us to generate executables for M2 Mac.
I am not sure if it actually compiles correctly. But I write here because I know that GitHub issues are the first place people come to look for information. Someone will add more information on how to compile on macOS.
Hi
I compiled Seqwish on macOS.
I followed the recommended commands for compiling ODGI on macOS
See: https://github.com/pangenome/odgi/pull/494
I modified CMakeLists.txt as follows. There was a linking error, but I removed
-latomic
, as I read it's unnecessary on macOS.get_current_dir_name()
does not work on macOS:I encountered an error with
std::min()
, but I am not familiar with the C++ language. After consulting with ChatGPT, I made the following change:These changes allow us to generate executables for M2 Mac.
I am not sure if it actually compiles correctly. But I write here because I know that GitHub issues are the first place people come to look for information. Someone will add more information on how to compile on macOS.