Hi,
Thanks for your reply. I really want to build vstserver to use with the
k_vst~ object in pure data...
Can you confirm what version of wine has given you good results?
Thanks,
Andres
On Thu, 2005-03-31 at 14:55, Kjetil Svalastog Matheussen wrote:
Andres Cabrera:
Hi,
After a lot of hacking around I managed to build vstserver on Planet
CCRMA FC2 with wine20041201.
I had to:
-modify winemaker: This perl script uses the global variable
%directories before it is defined. Moving the declaration my
%directories; to the global variables section make the script work.
-Remove ./configure --with-wine=/usr/local from makevstserver.sh (which
was generated by winemaker)
-When I get:
winegcc -mwindows -mno-cygwin -o win.exe.so dummy.o main.o
windowsstuff.o winwin.o rsrc.res win.exe.dbg.o -lodbc32 -lole32
-loleaut32 -lwinspool -luuid
main.o(.text+0x151): In function `WinMain':
: undefined reference to `MAINHANDLER_control'
windowsstuff.o(.text+0x224): In function `WINDOWS_new':
: undefined reference to `VSTS_audioMaster'
collect2: ld returned 1 exit status
I have to modify the makefile inside servant/win to include:
line 18:
LIBRARY_PATH = -L ~/src/vstserver-0.3.1
LIBRARIES = -l vstservant -l pthread
line 113:
$(CC) $(win_exe_LDFLAGS) -o $@ $(win_exe_OBJS) $(win_exe_MODULE).dbg.o
$(win_exe_LIBRARY_PATH) $(LIBRARY_PATH) $(LIBRARIES)
$(win_exe_DLLS:%=-l%) $(win_exe_LIBRARIES:%=-l%)
And now:-----Compilation Ok.
but...
When I run vstserver, I get:
[andres@localhost vstserver-0.3.1]$ ./vstserver
Yes, that is a trick one can use to compile up vstserver for newer
versions of wine. But it will make vstserver use conflicting versions
of pthread, glibc's and wine's, and can give you (extra)
stability-trouble.
VSTSERVER/main: Vstserver 0.3.1 started. Waiting for requests.
----> VSTSERVER/updatecache: Please wait. Updating cache.
If nothing happens for 40 seconds, or the server is trying to
start the same plugin over and over again;
press ctrl-c, and start vstserver once more.
VSTSERVER/main: Going to try to start vst plugin "Absynth 2.0.dll".
VSTSERVER/main: Going to try to start vst plugin "Absynth 2.0.dll".
VSTSERVER/main: Going to try to start vst plugin "Absynth 2.0.dll".
Killed
Any ideas? Am I breaking something in the process?
No, don't know. Wine is horrible.
Try dssi-vst instead. It doesn't use pthreads for threading.