Hello,
I can not figure out how to compile PD with DirectSound support. I downloaded portaudio_v18, copied pa_win_ds to pd/portaudio, changed pa_asio.cpp to pa_dsound.cpp on several places in the makefile and added instructions to build dsound_wrapper.c.
I don't know much about C and makefiles and don't know what to do with this error message:
link /nologo /dll /export:sys_main /out:..\bin\pd.dll g_canvas.obj
g_gra
ph.obj g_text.obj g_rtext.obj g_array.obj g_template.obj g_io.obj
g_scalar.obj
g_traversal.obj g_guiconnect.obj g_readwrite.obj g_editor.obj
g_all_guis.obj g_
bang.obj g_hdial.obj g_hslider.obj g_mycanvas.obj g_numbox.obj g_toggle.obj
g_v
dial.obj g_vslider.obj g_vumeter.obj m_pd.obj m_class.obj m_obj.obj
m_atom.obj
m_memory.obj m_binbuf.obj m_conf.obj m_glob.obj m_sched.obj s_main.obj
s_inter
.obj s_unix.obj s_file.obj s_print.obj s_loader.obj s_path.obj s_entry.obj
d_u
gen.obj d_ctl.obj d_arithmetic.obj d_osc.obj d_filter.obj d_dac.obj
d_misc.obj
d_math.obj d_fft.obj d_mayer_fft.obj d_fftroutine.obj d_array.obj
d_global.obj
d_delay.obj d_resample.obj x_arithmetic.obj x_connective.obj
x_interface.obj x_
midi.obj x_misc.obj x_time.obj x_acoustics.obj x_net.obj x_qlist.obj
x_gui.obj
d_soundfile.obj s_nt.obj s_portaudio.obj pa_lib.obj pa_trace.obj
pablio_pd.obj
ringbuffer_pd.obj pa_dsound.obj dsound_wrapper.obj /NODEFAULTLIB:libc
/NODEFAU
LTLIB:oldnames /NODEFAULTLIB:kernel /NODEFAULTLIB:uuid
"D:\Programme\Microsof
t Visual Studio\VC98"\lib\libc.lib "D:\Programme\Microsoft Visual
Studio\VC98"\l
ib\oldnames.lib "D:\Programme\Microsoft Visual Studio\VC98"\lib\kernel32.lib
"D
:\Programme\Microsoft Visual Studio\VC98"\lib\wsock32.lib
"D:\Programme\Microsof
t Visual Studio\VC98"\lib\winmm.lib ..\bin\pthreadVC.lib
"D:\Programme\Microsoft
Visual Studio\VC98"\lib\user32.lib "D:\Programme\Microsoft Visual
Studio\VC98"
lib\gdi32.lib "D:\Programme\Microsoft Visual Studio\VC98"\lib\winspool.lib
"D:\P
rogramme\Microsoft Visual Studio\VC98"\lib\comdlg32.lib
"D:\Programme\Microsoft
Visual Studio\VC98"\lib\advapi32.lib "D:\Programme\Microsoft Visual
Studio\VC98
"\lib\shell32.lib "D:\Programme\Microsoft Visual Studio\VC98"\lib\ole32.lib
"D:
Programme\Microsoft Visual Studio\VC98"\lib\oleaut32.lib
"D:\Programme\Microsoft
Visual Studio\VC98"\lib\uuid.lib "D:\Programme\Microsoft Visual
Studio\VC98"\l
ib\odbc32.lib "D:\Programme\Microsoft Visual Studio\VC98"\lib\odbccp32.lib
..\li
b\asio\asiolib.lib
Creating library ..\bin\pd.lib and object ..\bin\pd.exp
pa_dsound.obj : error LNK2001: unresolved external symbol
_DirectSoundCaptureEnu
merateA@8
pa_dsound.obj : error LNK2001: unresolved external symbol
_DirectSoundEnumerateA
@8
pa_dsound.obj : error LNK2001: unresolved external symbol
_DirectSoundCreate@12
dsound_wrapper.obj : error LNK2001: unresolved external symbol
_DirectSoundCreat
e@12
pa_dsound.obj : error LNK2001: unresolved external symbol
_DirectSoundCaptureCre
ate@12
dsound_wrapper.obj : error LNK2001: unresolved external symbol
_DirectSoundCaptu
reCreate@12
..\bin\pd.dll : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: '"D:\Programme\Microsoft Visual
Studio\VC98\Bin\link.
exe"' : return code '0x460'
Stop.