I'm a Pascal programmer but i need to compile a C library for Windows.
That library is espeak (a voice synthesizer) which uses portaudio lib to access audio port. I have translated the C header into Pascal and have no problem using that library in Linux with the Pascal header.. Also, no problem compiling that lib in Linux (some Make,... and it is done...).
But i want to use it for Windows too... So i have installed Microsoft Visual Studio and loaded the project.
When I compile the lib, I get messages like:
wavegen.obj : error LNK2019: unresolved external symbol _Pa_Initialize referenced in function "int __cdecl WavegenInitSound(void)" (?WavegenInitSound@@YAHXZ)
It seems that the link to the library is not found. How can i declare what and where that library is (portaudio.dll).
In the code there is #include "portaudio.h" so I think the link to the function is defined. But I cannot find where it is defined which library (portaudio.dll) to use.
PS : I do not speak great C so some code is very welcome...
Many thanks