Hi, I'm on Ubuntu 18.10 and I've successfully installed nest to `/usr`.
I'm interested in writing my own synapse models and found these instructions for
getting started:
https://nest.github.io/nest-simulator/extension_modules
The configuration step, `cmake -Dwith-nest=/usr/bin/nest-config ../MyModule` works fine.
However, when I ran `make` I received the following compiler error:
```
~/Projects/NEST/MyModule/mymodule.cpp: In member function ‘virtual void
mynest::MyModule::init(SLIInterpreter*)’:
~/Projects/NEST/MyModule/mymodule.cpp:128:24: error: no matching function for call to
‘nest::ModelManager::register_connection_model<mynest::DropOddSpikeConnection<nest::TargetIdentifierPtrRport>
>(const char [17])’
"drop_odd_synapse" );
^
In file included from /usr/include/nest/kernel_manager.h:31,
from /usr/include/nest/connector_base_impl.h:26,
from /usr/include/nest/connection.h:29,
from
/home/ebanflo/Projects/NEST/MyModule/drop_odd_spike_connection.h:27,
from /home/ebanflo/Projects/NEST/MyModule/mymodule.cpp:29:
/usr/include/nest/model_manager.h:197:8: note: candidate: ‘template<template<class
targetidentifierT> class ConnectionT> void
nest::ModelManager::register_connection_model(const string&,
nest::RegisterConnectionModelFlags)’
void register_connection_model( const std::string& name,
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nest/model_manager.h:197:8: note: template argument deduction/substitution
failed:
make[2]: *** [CMakeFiles/mymodule_module.dir/build.make:63:
CMakeFiles/mymodule_module.dir/mymodule.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/mymodule_module.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
```
I am not sure how to deal with this, and any help would be appreciated. Thank you!