I am now able to get this to link and run.  I had to modify the lcms.def file 
to export the missing entry points.  Not a very clean solution as this means 
that Windows versions of the profiler will have to be build and packaged with 
a custom version of the lcms.dll.  Perhaps Marti would consider adding these 
to the lcms.def file?

Hal

On Wednesday 12 October 2005 01:45 pm, Hal V. Engel wrote:
> I have been testing LPROF on my linux machine and making good progress with
> my updates.  So I decided that I would like to make sure that what I have
> will build and run on Windows.  It compiles fine but when I try to link it
> I get the following errors:
>
> cmslnr.obj : error LNK2001: unresolved external symbol
> _cmsAllocSampledCurve cmsmkmsh.obj : error LNK2001: unresolved external
> symbol _cmsAllocSampledCurve cmslnr.obj : error LNK2001: unresolved
> external symbol _cmsFreeSampledCurve cmsmkmsh.obj : error LNK2001:
> unresolved external symbol _cmsFreeSampledCurve cmslnr.obj : error LNK2001:
> unresolved external symbol
> _cmsConvertSampledCurveToGamma
> cmslnr.obj : error LNK2001: unresolved external symbol
> _cmsClampSampledCurve cmslnr.obj : error LNK2001: unresolved external
> symbol _cmsSmoothSampledCurve cmslnr.obj : error LNK2001: unresolved
> external symbol _cmsJoinSampledCurves cmslnr.obj : error LNK2001:
> unresolved external symbol _cmsDupSampledCurve cmslnr.obj : error LNK2001:
> unresolved external symbol _cmsLinearInterpLUT16 setgamma.obj : error
> LNK2001: unresolved external symbol _cmsLinearInterpLUT16 cmslnr.obj :
> error LNK2001: unresolved external symbol _cmsCalcL16Params setgamma.obj :
> error LNK2001: unresolved external symbol _cmsCalcL16Params cmsmkmsh.obj :
> error LNK2001: unresolved external symbol _MAT3eval cmsmntr.obj : error
> LNK2001: unresolved external symbol _MAT3eval
> cmsmkmsh.obj : error LNK2001: unresolved external symbol _MAT3inverse
> cmsmntr.obj : error LNK2001: unresolved external symbol _MAT3inverse
> cmsmkmsh.obj : error LNK2001: unresolved external symbol _VEC3init
> cmsmntr.obj : error LNK2001: unresolved external symbol
> __cmsIdentifyWhitePoint
> cmsprf.obj : error LNK2001: unresolved external symbol
> __cmsIdentifyWhitePoint cmsprf.obj : error LNK2001: unresolved external
> symbol _cmsAdaptMatrixToD50 cmsreg.obj : error LNK2001: unresolved external
> symbol _cmsSignalError cmssheet.obj : error LNK2001: unresolved external
> symbol _cmsSignalError profilechecker.obj : error LNK2001: unresolved
> external symbol
> _cmsAdaptMatrixFromD50
> profilechecker.obj : error LNK2001: unresolved external symbol
> _cmsReadICCMatrixRGB2XYZ
> lprof.exe : fatal error LNK1120: 17 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
>
> All of the unresolved external symbols are from lcms.   None of these are
> listed in the lcmsapi.txt file that comes with the latest source
> distributions except cmsSignalError.  So it appears that most of these are
> no longer publicly available on the Windows platform.   Perhaps there is a
> work around of some sort or there may be other exposed functions from lcms
> that have replaced these.  But that does not explain why cmsSignalError has
> a problem.  So I am very perplexed by this.  I have to admit that I am not
> very familiar with how this stuff works on Windows and perhaps I did not
> build lcms correctly or there is some other problem.  Anyone have any ideas
> about how I can correct the problem?  I should add that only a small subset
> of the calls being made in LPROF to lcms are having link problems.
>
> Hal
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Lcms-user mailing list
> Lcms-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lcms-user


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to