Thanks for the reply.

It seems like I need a non-static one so that I can import it without any
trouble. But, when I build the library, It only gives me lcms2_static.lib
in LIB folder. What should I change to get non-static lib?

On Thu, Oct 4, 2012 at 2:57 PM, Marti Maria <marti.ma...@littlecms.com>wrote:

>
> > I have been using lcms library and there was no problem to use it in
> > VC++ console project of Visual Studio 2010 with /MD (no clr).
> > But stupid link errors occur when I include the same library in VC++
> > windows form project of VS2010 with /MD and /clr
> >
> > The errors look like "*** already defined in MSVCRT.lib(MSVCR100.dll)"
> >
> > I have no clue why this happens please give me a tip to fix it!!
> >
>
> Hi, double check the code generation (/MD and /MT) . Chances are you are
> mixing libraries built with DLL runtime and static runtime.
> This is a pretty common issue, not directly related with lcms.
>
> Regards
> Marti
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Lcms-user mailing list
> Lcms-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lcms-user
>
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to