[CLAM] Building SMSTools2 from CLAM-0.5.6 in MSVC++6

Xavier Amatriain xamat at iua.upf.es
Wed Jan 14 06:58:21 PST 2004


Hi Gustavo and thanks for your feedback,

In the first part of your mail you list some bugs that as such should go to the Mantis interface (it is easier to keep track of them). Nevertheless, the bugs you report are just due to the fact that the .dsp file in the repository are not up to date. If you regenerate the project using srcdeps (please again refer to the manual) you should not have any of those problems. Anyway, we will make sure and update the dsp in the next release.

On the other hand, all the warnings you get can be safely ignored. We definetely not take much into account warnings from MS Visual 6's awful compiler and will probably very soon switch to version 7.X.

Xavier Amatriain
CLAM-devel team


On Wed, 14 Jan 2004 14:45:22 -0000
Luís Gustavo Martins <lmartins at inescporto.pt> wrote:

> Hello,
> 
> I've just downloaded CLAM 0.5.6 from the project webpage, as well as all the
> necessary libraries binaries, (yes, I'm a rookie! ;-)) and followed the
> steps described in the (excelent) CLAM manual (release 0.5, Revision 6) in
> order to build the SMSTOOLS2 project, and consequently test my CLAM
> installation.
> 
> I'm currentlly using Windows XP and MS Visual C++ 6 (SP5).
> 
> In order to compile and run successfully the SMSTOOLS project (found at
> \CLAM\build\Examples\SMS\Tools\) I had to perform some minor tweaks that I
> think are not documented anywhere (please correct me if I'm wrong):
> 
> * remove BasicStatistics.cxx and XercesDOMPrinter.cxx  from the project,
> since they do not exist in the CLAM-0.5.6 distribution, and cause a "File
> not found" error during build.
> 
> * change project settings for the RELEASE configuration at
> LINK-->Object/Library Modules:
> fltkgl_1_1d.lib (debug version) to fltkgl_1_1.lib (release version)
> fltkimages_1_1d.lib (debug version) to fltkimages_1_1.lib (release version)
> This avoids using simultaneously the release and debug MSVC C library, which
> may cause errors during run-time (this situation generates a MSVC++ warning
> during compile)
> 
> * I also had to go the Project Settings in MSVC++, and, as stated in the
> CLAM manual (section 22.2) add the /FI"config.h" line to it, in order to
> compile it.
> 
>  After this tweaks, I was able to complile withou errors, but still
> receiving the following warnings:
> 
> Warning: unused variable USE_QT          (ONLY APPEARS IN RELEASE MODE!)
> 
> DXFullDuplex.cxx
> ..\..\..\..\..\dxsdk\include\dinput.h: DIRECTINPUT_VERSION undefined.
> Defaulting to version 0x0800
> RtAAudioDevice.cxx
> ..\..\..\..\..\dxsdk\include\dinput.h: DIRECTINPUT_VERSION undefined.
> Defaulting to version 0x0800
> 
> AudioMultiplier.cxx
> D:\devel\CLAM\src\Processing\ArithOps\AudioMultiplier.cxx(25) : warning
> C4660: template-class specialization 'BinaryAudioOp<class
> CLAM::Multiply<float> >' is already instantiated
> 
> SpectralDescriptors.cxx
> D:\devel\CLAM\src\Data\Descriptors\SpectralDescriptors.cxx(250) : warning
> C4305: '*=' : truncation from 'const double' to 'float'
> 
> I assume that some of these warnings may be safelly ignored, but
> nevertheless, I list them all here for the sake of completeness.
> 
> I hope this helps,
> 
> Regards,
> 
> Gustavo
> 
> Luís Gustavo Martins
> lmartins at inescporto.pt
> INESC Porto
> Unidade Telecomunicações e Multimédia
> Área do Áudio
> Campus da FEUP
> Rua Dr. Roberto Frias, 378
> 4200-465 PORTO
> PORTUGAL
> Tel.: +.351.22. 209 4017
> Fax: +.351.22. 209 4250
> www.inescporto.pt/gaudio
> www.inescporto.pt
> 
> 
> 
> 
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam
> 
> 


-- 
/**
*     Xavier Amatriain
*   Music Technology Group
*  Universitat Pompeu Fabra
* http://iua.upf.es/mtg/~xamat
*
*/




More information about the clam-users mailing list