Actually i dont want to burn anything into the cd. But i want to read from cd.
Now in PC side both reading and burning is in the same file juce_win32_AudioCDReader.cpp. In this file the first line is
#if JUCE_INCLUDED_FILE && JUCE_USE_CDBURNER
and in juce_amalgamated.cpp we have the code
/* You'll need the Platform SDK for these headers - if you don't have it and don't
need to use CD-burning, then you might just want to disable the JUCE_USE_CDBURNER
flag in juce_Config.h to avoid these includes.
so i cant comment out the line in juce_config.h file where we define JUCE_USE_CDBURNER. Thats y i was requesting u to put the code in two different files or use the macro only for burning code.