Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: unresolved external symbol _L_SaveICCProfileA@12
Started by Coder at 08-20-2007 11:32. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  08-20-2007, 11:32
Coder is not online. Last active: 8/21/2007 4:54:44 PM Coder

Not Ranked
Joined on 07-26-2007
Posts 2
unresolved external symbol _L_SaveICCProfileA@12
Reply Quote

I'm getting an unresolved external for L_SaveICCProfile in LEADTOOLS v15 (unresolved external symbol _L_SaveICCProfileA@12).  I did a dumpbin on ltclr_u.lib and found that this function is different than the others (name mangled?).  Here are some of the functions from the dump:

50 ?L_SaveICCProfileA@@YGHPADPAU_ICCPROFILEEXT@@PAU_SAVEFILEOPTIONA@@@Z (int __stdcall L_SaveICCProfileA(char *,struct _ICCPROFILEEXT *,struct _SAVEFILEOPTIONA *))
1 _L_2bFixed2bNumberToDouble@4
2 _L_ClrConvert@28
3 _L_ClrConvertDirect@32
4 _L_ClrConvertDirectToBitmap@36
5 _L_ClrConvertToBitmap@32

 

If I compile the code for Unicode, it has no problem linking.  It's symbol looks like this:

30 _L_SaveICCProfile@12

It's easy to see why it is not finding the ASCII version.

What am I doing wrong?


   Report 
  08-21-2007, 11:47
Maen Hasan is not online. Last active: 10/5/2008 10:18:54 AM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 1,747
Re: unresolved external symbol _L_SaveICCProfileA@12
Reply Quote
Hello,

I tried this function in Visual C++ 6 with both a Unicode and a non-Unicode build of a test program, and it did not cause linker errors in either.
Are you using a recent version of our toolkit? If yes, can you send me a small test project that shows the problem?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
   Report 
  08-21-2007, 14:11
Coder is not online. Last active: 8/21/2007 4:54:44 PM Coder

Not Ranked
Joined on 07-26-2007
Posts 2
Re: unresolved external symbol _L_SaveICCProfileA@12
Reply Quote
I'm using version 15 of the toolkit.  I'm linking in the files in lib\API\Win32.  I'm building using Visual Studio 2005.  I have reproduced the problem with a simple program that I will send to you.
   Report 
  08-23-2007, 4:00
Maen Hasan is not online. Last active: 10/5/2008 10:18:54 AM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 1,747
Re: unresolved external symbol _L_SaveICCProfileA@12
Reply Quote
Hello,

I checked this issue on my side using your sample project and the problem is not active.
The problem might be related to using an old version of LEADTOOLS header and lib files.

I will send you the instructions to download and install the latest LEADTOOLS v15 patches via support email.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Color Conversio... » Re: unresolved external symbol _L_SaveICCProfileA@12

Powered by Community Server, by Telligent Systems