# API NBLIB compilation problem

**URL:** <https://gromacs.bioexcel.eu/t/api-nblib-compilation-problem/7098>\
**Category:** User discussions\
**Tags:** gmxapi, nb-lib\
**Created:** [August 29, 2023, 1:44pm UTC](https://gromacs.bioexcel.eu/t/api-nblib-compilation-problem/7098 "2023-08-29T13:44:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EOrfanakis](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@EOrfanakis](https://gromacs.bioexcel.eu/u/EOrfanakis)\
**Post date:** [August 29, 2023, 1:44pm UTC](https://gromacs.bioexcel.eu/t/api-nblib-compilation-problem/7098/1 "2023-08-29T13:44:36Z")

</div>

GROMACS version: 2023.1  
GROMACS modification: Yes/No  
Here post your question  
Hello,  
I have installed gromacs 2023.1 with this command cmake … -DGMX\_BUILD\_OWN\_FFTW=ON -DREGRESSIONTEST\_DOWNLOAD=ON -DBUILD\_SHARED\_LIBS=ON -DGMXAPI=OFF -DGMX\_INSTALL\_NBLIB\_API=ON -DGMX\_DOUBLE=ON -DGMX\_GPU=OFF  
and i am trying to write md programs according to this [https://manual.gromacs.org/current/nblib/guide-to-writing-MD-programs.html#global-definitions](https://manual.gromacs.org/current/nblib/guide-to-writing-MD-programs.html#global-definitions)  
Then, i give this command $ g++ -std=c++11 -I /usr/local/gromacs/include/nblib/ -o md\_programm /home/EO/Documents/md\_programm.cpp  
and i get this error  
In file included from /usr/local/gromacs/include/nblib/listed\_forces/calculator.h:54,  
from /home/EO/Documents/md\_programm.cpp:4:  
/usr/local/gromacs/include/nblib/vector.h:46:10: fatal error: /usr/local/gromacs/math/vectypes.h: No such file or directory  
46 | #include “/usr/local/gromacs/math/vectypes.h”  
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
compilation terminated.  
i cant detect any math folder or vectypes.h file, could you provide me some help?
