| От | TalGloz |
|---|---|
| Тема | including header files in a C extension |
| Дата | |
| Msg-id | 1534526664316-0.post@n3.nabble.com обсуждение исходный текст |
| Ответы |
Re: including header files in a C extension
|
| Список | pgsql-general |
Hi, If I have an external library that I install using make install into the /usr/local/include/libraryname path by default and I want to include it in a C extension, the Makefile for the .so file includes the headers in /usr/local/include/libraryname path. Can I use #include <libraryname/header.h> when writing C/CPP code for my PostgreSQL C extension or do I have to install the external library in a different path than /usr/local/include/libraryname. I think that the external library headers are not getting included. I do manage to build the .so file without error..... Thanks, Tal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера