Re: [xml] Help Required

The problem is I am using "Win32 Debug". Let me supply some more
information here:

In the workspace area, mine is situated on the left:
Header files:
        All xml header file are included here
Resource files:

Project Setttings: 
        C++ Tab:
                Category = General
                Warning Level = Level 3
                Optimizations = Disable (Debug)
                Generate browse info = ticked
                Debug Info = Program database for Edit and continue
                PreProcessor definitions = WIN32, _DEBUG, _CONSOLE,
                Project Options:
                /nologo /MDd /W3 /Gm /GX /ZI /Od
/I"..\thirdparty\include\\" /D 
                "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"Debug/"

                /Fp"Debug/test.pch" /YX /Fo"Debug/" /Fd"Debug/"
                /FD /GZ /D "_DEBUG",_CONSOLE,_MBCS" /c
        Link Tab:
                Category = General
                Output file name = Debug/tutorial_1.exe
                Object/library modules:
                Ws2_32.lib kernel32.lib user32.lib gdi32.lib
winspool.lib                    comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib          uuid.lib odbc32.lib odbccp32.lib /nologo
/subsystem:console              /incremental:yes
/pdb:"Debug/tutorial_1.pdb" /debug
/machine:I386 /out:"Debug/tutorial_1.exe" /pdbtype:sept

My understanding of the .lib files is that these files are not the same
as .dll files. To read .dll files you would obviously use the
LoadLibrary and GetProc... functions to load into memory and then access
these functions. However when compile with the libraries included there
is not special requirement when calling the libxml functions. Maybe I am
having a dumb moment here. I think my problem is so simple and I am not
seeing what it is.

Help from all will be greatly appreciated. Thanks for those who have
already replied.



-----Original Message-----
From: GORKA VELEZ [mailto:gvelez fagorautomation es] 
Sent: 01 March 2007 01:20
To: Xen Cloete; xml gnome org
Subject: RE: [xml] Help Required

I'm using Visual C++ 6.0 and I'm having this problem when I compile with
"Win32 Release" mode. Switch to "Win32 Debug" to avoid it.

-----Mensaje original-----
De: xml-bounces gnome org [mailto:xml-bounces gnome org]En nombre de Xen
Enviado el: jueves, 01 de marzo de 2007 11:57
Para: xml gnome org
Asunto: [xml] Help Required

To all,
I have been struggling for more than a day trying to get the library to
work on my machine. I am running XP with the Microsoft Visual C++
Enterprise Edition. 
To not waste anybody's time I will get right to the point. 
I have included in the Libxml2.lib file in the "resource file section"
of the IDE. The path to the directories for this library has been
correctly pointed to in this section.  However when I compile the
program I get the following error messages:
Main.obj: error LNK2001: unresolved external symbol __imp_xmlFree
Main.obj: error LNK2001: unresolved external symbol
Main.obj: error LNK2001: unresolved external symbol __xmlStrcmp
Main.obj: error LNK2001: unresolved external symbol __xmlFreeDoc
Main.obj: error LNK2001: unresolved external symbol
And so on...
I am feeling like an idiot as I have been developing for a long time and
cannot spot the problem. I have search countless internet posts to see
if I can find what the problem is. To no avail. Now I am going nuts...
Please Igor or someone please help here.
"Hollard is a licensed Financial Services Provider (FSP) as defined in
the Financial Advisory and Intermediary Services Act (FAIS). FAIS
requires that anyone who makes any recommendation, guidance or proposal
of a financial nature must be a duly authorised representative of a
licensed FSP. If you are seeking financial advice, or if you feel that
this email constitutes financial advice, or if the author of this email
wants you to purchase, amend or cancel a policy, please check with the
author that he/she is a registered representative of Hollard." 
This email and all content are subject to the following disclaimer:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]