Op 4 apr. 2013 06:33 schreef "sivasubramani" <
sivasubramani.m...@precisionbiometric.co.in> het volgende:
>
> Dear Team,
>
>
>
> I have created libpng using x86_64-w64-mingw32-gcc compiler
and I created a wrapper static library for that libpng using visual c++
for 64 bit windows 7 platform . while I try to run that library I got the
following error’s
>
>
>
> “error LNK2019: unresolved external symbol mingw_getsp referenced in
function read_png”
>
> “error LNK2001: unresolved external symbol mingw_getsp”
>
> “error LNK2001: unresolved external symbol mingw_getsp”
>
> “error LNK2019: unresolved external symbol __strtod referenced in
function png_handle_sCAL”
>
>
>
> LSpng.lib(pngreadwrite.o) : error LNK2001: unresolved external symbol
mingw_getsp referenced in function read_png
>
> LSpng.lib(pngread.o) : error LNK2001: unresolved external symbol
mingw_getsp
>
> LSpng.lib(pngread.o) : error LNK2001: unresolved external symbol
mingw_getsp
>
> LSpng.lib(pngrutil.o) : error LNK2019: unresolved external symbol
__strtod referenced in function png_handle_sCAL
>
>
>
> I did same thing using mingw32 for 32 bit windows machine. It was
compiled and worked properly
>
>
>
> How can I resolve this problem can anyone help me please.
64-bit static libraries compiled with GCC are not compatible with MSVC and
vice versa.
Only 32-bit ones are,.which you have seen. If you want to use a 64-bit
GCC-compiled library with MSVC, you'll have to use a dll.
Ruben
>
>
>
>
>
> Thanks & Regards,
>
> Siva
>
>
>
>
> This communication may contain confidential information. If you are not
the intended recipient it may be unlawful for you to read, copy,
distribute, disclose or otherwise use the information contained within this
communication.. Errors and Omissions may occur in the contents of this
Email arising out of or in connection with data transmission, network
malfunction or failure, machine or software error, malfunction, or operator
errors by the person who is sending the email. Precision Group accepts no
responsibility for any such errors or omissions. The information, views and
comments within this communication are those of the individual and not
necessarily those of Precision Group. All email that is sent from/to
Precision Group is scanned for the presence of computer viruses, security
issues and inappropriate content. However, it is the recipient's
responsibility to check any attachments for viruses before use.
>
>
------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public