-
Notifications
You must be signed in to change notification settings - Fork 135
Description
UserWarning:Unable to compile NEST extensions. Output was:
[ 50%] Building CXX object CMakeFiles/pynn_extensions_module.dir/pynn_extensions.cpp.o
In file included from /usr/include/nest/sort.h:36,
from /usr/include/nest/connector_base.h:35,
from /usr/include/nest/connector_base_impl.h:23,
from /usr/include/nest/connection.h:29,
from /home/tiger/.local/lib/python3.12/site-packages/pyNN/nest/extensions/simple_stochastic_synapse.h:11,
from /home/tiger/.local/lib/python3.12/site-packages/pyNN/nest/extensions/pynn_extensions.cpp:9:
/usr/include/nest/iterator_pair.h:26:10: fatal error: boost/iterator/iterator_adaptor.hpp: No such file or directory
26 | #include <boost/iterator/iterator_adaptor.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pynn_extensions_module.dir/build.make:79: CMakeFiles/pynn_extensions_module.dir/pynn_extensions.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/pynn_extensions_module.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
This error occured a few times previously since upgraded ubuntu to 24.04, but now it is much more frequent recently. Tried to re-install NEST and update CMAKE, also tried update CMAKE then re-install NEST does not work.
Despite the error message, most of the time the code still runs, occationally the code would stuck and takes a long time to compile. Any suggestion? Or shall I roll back to 22.04?