Noob question : Linker error about QTMClient.lib


#1

Hi guys,

I’m really REALLY new with juce, and with programming in general so I hope it o.k to ask this question here …
I’m trying to run my “audio plugins” first project, and I did everything that is written in the “How to use this framework.txt” file (/extras/audio plugins folder)
however I bumped into a linker problem that I can’t resolve myself and thought you could help me out a bit.

When I’m trying to build the project it writes me
LINK: fatal error LNK1104: cannot open file ‘QTMClient.lib’

I guess that’s a lib file from quicktime sdk, so I tried to add the folder from quicktime sdk that contains this file under Linker->Additional Library Directories
and when I rebuild now I have lots of other error such as:
libcmt.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRTD.lib(MSVCR80D.dll)
libcmt.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in MSVCRTD.lib(MSVCR80D.dll)

I tried to use /NODEFAULTLIB:MSVCRTD.lib under Linker->Command Line but then it won’t find lots of other stuff.

I’m sure it’s quite simple problem for more experienced programmers than me :confused:
any suggestions ?

Thanks
Michael


#2

Hi Micheal,
Please put “libcmt.lib” in ignore library list. This should solve problems caused by libcmt.lib.


#3

Thanks vishvesh !
it worked :slight_smile: