Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Makefiles, common.mk: (1 Item)
   
Makefiles, common.mk  
Hi,

I'm trying to compile and run the code for Example 4: Playing MP3s as given in the Multimedia Developer's Guide. http://
www.qnx.com/developers/docs/6.3.2/photon/multimedia2/using_graphs.html

But I get errors as attached in the screenshot.

I'm assuming this is because I haven't linked the libraries. I've read through http://www.qnx.com/developers/docs/6.3.2/
neutrino/prog/make_convent.html#Examples
But I'm not really sure what to do.

I've made a common.mk in the folder where the code file is and done the following.

" In your makefile (common.mk), add these settings:

LIBS += stream_reader   xing_mpega_decoder mpega_parser wav_parser\
audio_writer fildes_streamer http_streamer  other_filters... \
mmedia mmconvenienceS mmedia aoi  m  asound socket

LIBPREF_mmedia= -Bstatic
LIBPOST_mmedia= -Bdynamic

This links the Multimedia filters statically. "

But when I run make the following happens:

#
# make
make: *** No targets specified and no makefile found.  Stop.

I'm no so sure what to do. Anyone have any ideas?

THANKS !!!


Attachment: Image Screenshot.jpg 162.8 KB