Hello Xavier,

Please have a look at https://github.com/nest/nest-simulator/blob/master/nestkernel/nest.h / .cpp . This is intended to provide a C/C++ API for nest. It is not complete, as far as i remember, and might be issue to backward incompatible changes. As an example, you can look at https://github.com/nest/nest-simulator/blob/master/nest/neststartup.cpp and see nest specific interactions are either implemented using functions from nest.h or from the individual managers via the https://github.com/nest/nest-simulator/blob/master/nestkernel/kernel_manager.h(also accessable via nest.h). The other code deals with setting up the SLI engine and making modules available in the engine. 

On installation please have a look at <prefix>/lib/ and <prefix>/includes/ for necessary libs and headers. I think there was also something like `nest-config` script in <prefix>/bin that can help with getting the correct flags.

I hope this is a headstart for you to try the API. I am very interested your experiences with it.

Best, Tammo

Am 20.08.2019 um 21:21 schrieb Xavier Otazu <xotazu@cvc.uab.es>:



Hello,

I would like to make a suggestion for future development. Now there is
a Python interface, but some of us have been working with C/C++ for
many years (and we have a lot of data processing software developed in
this language).

Please, could you include a C/C++ interface for NEST?

Thanks a lot in advance!

Xavier
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org