Somehow I need to end up with:
Code: Select all
gcc ... -IC:\path\to\headers
Code: Select all
!#include <C:\path\to\headers\header1.h>
Code: Select all
gcc ... -IC:\path\to\headers
Code: Select all
!#include <C:\path\to\headers\header1.h>
Code: Select all
ImportC "-lportaudio" : EndImport ;tel the linker to include the lib
!#include "/usr/include/portaudio.h" ;tell c where the header is
Thanks.
The problem I was having (Windows) was that if I tried to import a header using an absolute path and that header imported another using a relative path compilation would fail.idle wrote: ↑Thu Jan 06, 2022 8:57 pm To import portaudio for instance I did thisCode: Select all
ImportC "-lportaudio" : EndImport ;tel the linker to include the lib !#include "/usr/include/portaudio.h" ;tell c where the header is