Closed WarddeRidder closed 2 years ago
Thanks for letting us know about this error. We are not able to reproduce it, however this seems to be a problem with MinGW. It looks like a solution can be found here: https://stackoverflow.com/questions/14191566/c-mutex-in-namespace-std-does-not-name-a-type
We endeavor to be as compatible as possible. Can you please update us on your progress, and solution to this issue?
Unfortunately, it doesn't seem to work. I installed the x86_64-posix-seh-rev0, version 8.1.0 of MinGW-W64 as suggested in the stackoverflow answers, it still gives the same type of error (see below). I made sure to remove the previously installed MinGW from the path, so that the new make and g++ was used.
Compilation of the sample model in the README fails. SpatialPy was installed on Python 3.10.6 using
python3 -m pip install spatialpy --user --upgrade
. Upon attempting to run the READMEcreate_birth_death
model, compilation failed (return code 1) due to not recognising themake
command. After renaming GNU Make 3.82.90 (mingw32-make.exe) to make.exe, and attempting to rerun the model, it failed again, with return code 2. Notably, the error message changed when I tried to run the model a second time after renaming to make.exe. The full error messages are in the attachments, as well as the code.Error message spatialpy_error_message.txt
Code spatialpy_example_model.txt