Alsa mix in HW
Quoted 17 lines · Dino
Quoted 2 lines · Raymond
How can I link the demo.cpp (a simple openal/opengl program) with the openal-alsa ? (It can be executed when link with openal)
No problem here for compile/linking, i've attached a simple tested
Makefile, i used dynamic library with the name: libopenal.so.0 . If
you have problem tell me.CC = g++
TARGET = lesson3
COMPILEFLAGS = -g
LIBS = -lopenal -lglut
INC = -I../../include
Quoted 8 lines
$(TARGET): demo.o
$(CC) -o $(TARGET) demo.o $(COMPILEFLAGS) $(LIBS) $(INC)demo.o: demo.cpp
$(CC) -c demo.cpp -Wno-deprecatedclean:
rm -f $(TARGET) demo.o
It seem to me that your Makefile is wrong.
$(COMPILEFLAGS) and $(INC) should be in $(CC) -c demo.cpp
# demo]# make
Makefile:10: *** missing separator. Stop.
Have you run the demo when linked with openal-alsa ?
Is there any gain in FPS when using openal-alsa ?
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf