I'm trying to compiling OpenSeesPy on my MacBook. I followed the instructions in Chapter 2.1 of the "Docs of The OpenSeesPy Library(https://openseespydoc.readthedocs.io/en ... lemac.html)" step by step. But when I started compiling, it failed with the following error message:
make: *** No rule to make target `/usr/local/Cellar/superlu/5.2.1/lib/libsuperlu.a', needed by `Bin/libopensees.dylib'. Stop.
The building environments is:
OSX 10.14.5 (Catalina)
Qt Creator 4.12.2
Apple clang version 11.0.3 (clang-118.104.22.168)
Thread model: posix
I am trying to solve this problem, but have failed still now.
Could you please tell me how to deal with it?
This is an old post, but perhaps this answer can help someone in the future. The error you are getting is because your compiler cannot find the `libsuperlu.a` library. OpenSees depends on several libraries, e.g., solvers, graph partitioners, etc. These libraries must be built or installed independently before OpenSeesPy can be compiled. Many of these can be installed via the home-brew package manager. For example, by running:
Code: Select all
brew install superlu