From: Marti M. <mar...@li...> - 2012-10-10 17:20:11
|
Hi I assume you mean a static library that uses the DLL C runtime. Just go to "Configuration properties" "C/C++" "Code generation" and in "runtime library" select either Multi threaded DLL or multithreaded depending in the settings you use in your project. Recompile and that is all. On *managed* code that will not work. If you mean how to compile lcms as a DLL (which is a truly non-static but dynamic library) there is a project to do so. Hope that helps Marti El 10/10/2012 18:36, Devon Yoo escribió: > Hi, > > I keep having library compatibility problem. > lcms_static.lib works okay in VC++ console project of Visual Studio > 2010 with /MD (no clr). > but error occurs in VC++ windows form project of VS2010 with /MD and /clr > (error message: "*** already defined in MSVCRT.lib(MSVCR100.dll)") > > It looks like VC++ windows form project needs to import non-static > lcms2.lib and I can't build it at all. I downloaded "lcms2-2.3" and > the Projects\VC2010\lcms2.sln does not seems to build non-static one. > > Please give me some tips if you have any idea. > > Devon > > > ------------------------------------------------------------------------------ > 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 > Lcm...@li... > https://lists.sourceforge.net/lists/listinfo/lcms-user |