[gameprogrammer] Re: problem deploying app

You can tell the compiler to ignore libs.  So keep it as /MD[d] and
add the following to the link line.

/NODEFAULTLIB:"libc.lib" /NODEFAULTLIB:"libcd.lib"
/NODEFAULTLIB:"libcmt.lib" /NODEFAULTLIB:"libcmtd.lib"

(If you are using the visual studio IDE then it's under,
Configuration Properties->Linker->Input->Ignore Specific Library and
add the libs you want to ignore there.)

This should fix your issues.  The library that is wanting the
libcmt[d].lib will now look for it's CRT calls in the msvcrt[d].lib
instead.

--- Husam Zakaria <hzcppff@xxxxxxxxx> wrote:

> Hi every one, I always have this problem, but I solve it with this
> way:
> 
> in project property pages under "configuration properties" in C/C++
> in "code
> Generation" you have to change the run time library from any
> Multi-threaded
> DLL(/MD or /MDd) to Multi-threaded (/MT or /MTd) so it will work
> fine, but
> the problem is if you are using a library that using Multi-threaded
> DLL run
> time library such as crystalspace then this well not work, so I'm
> searching for any budy can help me in this.
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: