Problems with static libraries

M

Marcelo Fernandez

Hi !

I am having a lot of trouble compiling my directshow filter with third
party libraries.

In fact, I would like to know if there is an application that can tell
me if the library has been generated in MT, MD, MDd or MTd mode. I do
not have direct access to this libraries so I cannot recompile them as I
would like them to be.

Thank you very much,

Marcelo
 
J

Jack Klein

Hi !

I am having a lot of trouble compiling my directshow filter with third
party libraries.

In fact, I would like to know if there is an application that can tell
me if the library has been generated in MT, MD, MDd or MTd mode. I do
not have direct access to this libraries so I cannot recompile them as I
would like them to be.

Thank you very much,

C++ has no concept of static libraries, or "MT", "MD", and whatever
else you are talking about. These things are all platform specific
mechanisms. You need to ask about them in a group that supports your
compiler/OS combination.

Judging by the headers on your post,
might be a good choice.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
 
R

Ron AF Greve

Hi,

You might try the dumpbin tool from the command line:


C:\Documents and Settings\Projects\vc\Fluor\CoreDLL>dumpbin /directives
shared.lib
Microsoft (R) COFF/PE Dumper Version 7.10.3052
Copyright (C) Microsoft Corporation. All rights reserved.


Dump of file shared.lib

File Type: LIBRARY

Linker Directives
-----------------
/DEFAULTLIB:"LIBCMTD"
/DEFAULTLIB:"OLDNAMES"
/EDITANDCONTINUE

Linker Directives
-----------------
/DEFAULTLIB:"libcpmtd"
/include:?id@?$codecvt@DDH@std@@2V0locale@2@A
/include:?id@?$num_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@2V0locale@2@A
/include:?id@?$numpunct@D@std@@2V0locale@2@A
/DEFAULTLIB:"LIBCMTD"
/DEFAULTLIB:"OLDNAMES"
/EDITANDCONTINUE
the LIBCMTD in this case says it was linked to C-Library (CLIB)
MultiThreaded Debug (MTD)Regards, Ron AF Greve
http://www.InformationSuperHighway.eu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top