Hi Marti and all,

 

I am running MS VisualStudio2013 on Win 8.1.

 

I have downloaded lcms2-2.6.zip from Sourceforge.

 

I have located and opened lcms2.sln within \lcms2-2.6\Projects\VC2012. 

 

There are a few header files that seems to be missing (?) but that's not the
main issue.

 

In the LittleCMS2.6 tutorial.pdf, on page 7, you write "Any application
using LittleCMS 2 has to include just one header". OK.

 

Further down, you write "Unlike 1.xx series, all internal functions are no
longer accessible for client applications". OK.

 

So, on page 57, Sample 1, "How to convert from RGB to CMYK", I select all
the code and copy it into a new Win32 project.

 

Then I create a new header file in which I paste the whole lcms2.h content.

 

So far so good.

 

Then I try to run the program and then I get llena de errors :(

 

error LNK2019: unresolved external symbol _cmsOpenProfileFromFile referenced
in function _main    

error LNK2019: unresolved external symbol _cmsCloseProfile referenced in
function _main            

error LNK2019: unresolved external symbol _cmsCreateTransform referenced in
function _main   

error LNK2019: unresolved external symbol _cmsDeleteTransform referenced in
function _main   

error LNK2019: unresolved external symbol _WinMain@16 referenced in function
___tmainCRTStartup       

error LNK1120: 5 unresolved externals    c:\users\me\documents\visual studio


 

Is there something I have to uncomment for VisualStudio2013?

Could it be related to the fact that VisualStudio is only offering me a C++
compiling environment?

Don't know what to say, Marti. Any help is appreciated.

 

Muchas gracias / Roger Breton

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to