cmake-basis / BASIS

CMake BASIS makes it easy to create sharable software and libraries that work together. This is accomplished by combining and documenting some of the best practices and utilities available. This project supplies a fully integrated suite of functionality to make the whole process seamless!
https://cmake-basis.github.io
Other
48 stars 10 forks source link

basis for MASS-1.1.0 #630

Closed zswgzx closed 4 years ago

zswgzx commented 4 years ago

Hi experts,

I'm trying to install MASS 1.1.0, which requires Basis. I've installed all the prerequisites Mass needs, but failed to install it when ccmake gave:

But I'm able to import all these python libraries from anaconda3. Is there anything I miss?

Also, some settings in ccmake below:

What would be suitable to put to the last config? Tried /home/xxx/anaconda3/lib, but still the same issue.

Any help would be highly appreciated.

schuhschuh commented 4 years ago

Hi, sorry you encountered this issue. As this should merely be a check of module existence, and there seems to be some variables not set correctly internally, you could try a simple work-around:

Edit the BasisProject.cmake file in the top-level directory of the MASS source tree, and remove / comment out the line PythonModules{nibabel;numpy;sklearn;sklearn.cluster}.

You should then be able to proceed with configuring and installing the software.

zswgzx commented 4 years ago

Works well. Thanks!