You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am struggling to install MCScanX on MacOS. My current OS is Sequoia 15.1.1, and my chip is a Apple M1 Max.
I've tried both downloading the zip, unzipping the file, going to the directory, and running make, as well as using git clone then going to the directory and running make.
I get the same error in both cases:
make
c++ struct.cc mcscan.cc read_data.cc out_utils.cc dagchainer.cc msa.cc permutation.cc -o MCScanX
In file included from struct.cc:5:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from mcscan.cc:9:
In file included from ./mcscan.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from read_data.cc:16:
In file included from ./read_data.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from out_utils.cc:11:
In file included from ./out_utils.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from dagchainer.cc:15:
In file included from ./dagchainer.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from msa.cc:4:
./msa.h:1:10: fatal error: 'iostream' file not found
1 | #include
| ^~~~~~~~~~
1 error generated.
In file included from permutation.cc:26:
In file included from ./permutation.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
make: *** [mcscanx] Error 1
I'm honestly not entirely sure what to make of this error. When I run sudo find ./ -name cstdio from the highest directory on my computer, cstdio does exist here: /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1
I have tried adding this directory to my $PATH, but I still get the same error. Notably, I don't see a c++ executable anywhere in this directory. But when I run which c++, I receive /usr/bin/c++, which is of course short for '/Library/Developer/CommandLineTools/usr/bin'. So.. the executable is nearby, at least.
In case this is relevant, the command c++ --version outputs the following info: Apple clang version 16.0.0 (clang-1600.0.26.6) Target: arm64-apple-darwin24.1.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
I know this has nothing to do with the software itself, but do you have any idea why this is occurring?? I'm truly unsure where the disconnect in my system is here...
Thanks so much for your time, and for the wonderful tool!
Kindly,
Charity
The text was updated successfully, but these errors were encountered:
Hi there,
I am struggling to install MCScanX on MacOS. My current OS is Sequoia 15.1.1, and my chip is a Apple M1 Max.
I've tried both downloading the zip, unzipping the file, going to the directory, and running
make
, as well as using git clone then going to the directory and runningmake
.I get the same error in both cases:
make
c++ struct.cc mcscan.cc read_data.cc out_utils.cc dagchainer.cc msa.cc permutation.cc -o MCScanX
In file included from struct.cc:5:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from mcscan.cc:9:
In file included from ./mcscan.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from read_data.cc:16:
In file included from ./read_data.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from out_utils.cc:11:
In file included from ./out_utils.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from dagchainer.cc:15:
In file included from ./dagchainer.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from msa.cc:4:
./msa.h:1:10: fatal error: 'iostream' file not found
1 | #include
| ^~~~~~~~~~
1 error generated.
In file included from permutation.cc:26:
In file included from ./permutation.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
make: *** [mcscanx] Error 1
I'm honestly not entirely sure what to make of this error. When I run
sudo find ./ -name cstdio
from the highest directory on my computer, cstdio does exist here: /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1I have tried adding this directory to my
$PATH
, but I still get the same error. Notably, I don't see a c++ executable anywhere in this directory. But when I runwhich c++
, I receive/usr/bin/c++
, which is of course short for '/Library/Developer/CommandLineTools/usr/bin'. So.. the executable is nearby, at least.In case this is relevant, the command
c++ --version
outputs the following info:Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
I know this has nothing to do with the software itself, but do you have any idea why this is occurring?? I'm truly unsure where the disconnect in my system is here...
Thanks so much for your time, and for the wonderful tool!
Kindly,
Charity
The text was updated successfully, but these errors were encountered: