Re: [xml] link errors when I called the library function

Date view Thread view Subject view Author view

From: JohnnyXia@acersoftech.com.cn
Date: Thu Nov 16 2000 - 20:19:03 EST


Hi Wang,

For the second error and third error, I think it is a misconfiguration of
your project setting.
You must use the multithread function, but you don't link to the proper
library.

Open the project setting, selcet c/c++ tab, choose code generation
category, in Use run-time
library, you should choose a multithreaded library.

I don't try it. Hope this is helpful. Good Luck!

Please respond to xml@rpmfind.net
                                                              
                                                              
                                                              
 To: xml@rpmfind.net
                                                              
 cc: (bcc: Johnny Xia/AI_ASTS/ACER)
                                                              
                                                              
                                                              
 Subject: [xml] link errors when I called the library
          function
                                                              

Hello everybody,
     Now I am running libxml library from VC++ 6, but I got a
problem to call the functions in the library from my C++ application,
compilation was successful, but generatedsome linking problems when I tried
to create a executable file. The error is as follows:

     p_gnome_performance.obj : error LNK2001: unresolved external
symbol_xmlParseMemory
     nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external
symbol __endthreadex
      nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol
__beginthreadex
     Debug/p_gnome_performance.exe : fatal error LNK1120: 3 unresolved
externals Error executing link.exe.

so does any of you have any idea where the problems are?

Thank you very much!
Hai

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net

---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Nov 16 2000 - 20:43:37 EST