View previous topic :: View next topic |
Author |
Message |
Ojuice n00b
Joined: 28 Jun 2002 Posts: 10
|
Posted: Fri Jun 28, 2002 9:43 pm Post subject: xmms-winamp plugin |
|
|
Hey,
Has anyone had any success compiling this plugin? If you don't know what it is, it uses wine to allow you to use winamp vis. plugins in xmms.
xmms-winamp complains about windows.h when I try to compile it. I found windows.h in the winex cvs, and tried copies it in to the directory, to no avail.
- Ojuice
http://www.xmms.org/comments.html?show=P193
http://www.emulinks.de/xmms-winamp/ |
|
Back to top |
|
|
akhkharu99 Apprentice
Joined: 08 Jun 2002 Posts: 162 Location: Gainesville, FL
|
Posted: Sat Jun 29, 2002 1:03 am Post subject: |
|
|
alas, i wish i could help, but i get the same errors as you do.
i have tried your method and re-emerging winex, but it still fails. |
|
Back to top |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Sat Jun 29, 2002 1:14 am Post subject: |
|
|
I modified the makefile. It was like two weeks, so i'm not sure what exactly i did. Here's the complete one:
Code: |
WINAMPEXEPATH=/usr/bin
MYFLAGS=-O2 -Wall
#LIBEXT=.dll
LIBEXT=
CFLAGS=$(MYFLAGS) -fPIC -DWINAMPEXEPATH=\"$(WINAMPEXEPATH)\" -D_REENTRANT -DWINELIB -I/usr/include/wine -I/usr/X11R6/include $(shell gtk-config --cflags)
LIBS=-L/usr/winex/lib -lkernel32$(LIBEXT)
all: winamp winamp.so libwinamp.so
winamp: main.o
$(CC) -o winamp main.o $(LIBS)
winamp.so: winamp.o list.o winamp.spec.o
$(CC) -shared -o winamp.so winamp.o list.o winamp.spec.o $(LIBS) -lntdll$(LIBEXT)
libwinamp.so: plugin.o
$(CC) -shared -o libwinamp.so plugin.o $(shell gtk-config --libs) -lxmms
winamp.spec.c: winamp.spec
winebuild -L/usr/winex/lib -L/usr/lib -spec winamp.spec -o winamp.spec.c
clean:
rm -f winamp *.so winamp.spec.c *.o
strip:
strip *.so winamp
install: all
install -m 755 winamp $(WINAMPEXEPATH)
install -m 755 winamp.so $(WINAMPEXEPATH)
install -m 755 libwinamp.so $(shell xmms-config --visualization-plugin-dir)
|
Hope it works. |
|
Back to top |
|
|
|