Hello all,<br>
<br>
I've been trying to make a linux Pd external that reads .sdif files
using the Ircam SDIF library, but I can't see to get the makefile
settings right. The code compiles, but I get the following error
when trying to call the sdiftest external:<br>
<br>
/usr/local/lib/pd/extra/sdiftest.pd_linux: <a href="http://libsdif-3.8.6.so">libsdif-3.8.6.so</a>: cannot open shared object file: No such file or directory<br>
<br>
I'm very new to makefiles and I cannot tell why it isn't linking.
<a href="http://libsdif-3.8.6.so">libsdif-3.8.6.so</a> is installed in /usr/local/lib and the makefile code
is the following:<br>
<br>
pd_linux: sdiftest.pd_linux<br>
<br>
.SUFFIXES: .pd_linux<br>
<br>
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \<br>
-Wall -W -Wshadow -Wstrict-prototypes -Werror \<br>
-Wno-unused -Wno-parentheses -Wno-switch<br>
<br>
LINUXINCLUDE = -I /usr/local/lib/pd/src \<br>
-I /mnt/d/things/audioapp/sdif/SDIF-3.8.6-src/include \<br>
-I /usr/local/lib<br>
<br>
.c.pd_linux:<br>
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c<br>
ld -export_dynamic -shared -o $*.pd_linux $*.o -lsdif -lc -lm <br>
strip --strip-unneeded $*.pd_linux<br>
rm $*.o<br>
<br>
This is from the 6.externs/makefile with the -lsdif link that the sdif
tutorial speaks about
(<a href="http://recherche.ircam.fr/equipes/analyse-synthese/sdif/extern/tutorial-main.html">http://recherche.ircam.fr/equipes/analyse-synthese/sdif/extern/tutorial-main.html</a>).<br>
All I'm really doing in the external is trying to initialize the library, but I can't get passed the baby steps yet.<br>
<br>
If any programmers can help, thankyou<br>
Richie<br>
<br>