Re: [xml] libxml2 compiling problems in windows



Sergi, you have sent me five emails on this subject in a single day. I
understand your furstration, I was a novice sometime in the past and I
wanted to know everything at once, without reading a single line from the
manual. It took time, but I eventually figured out that things mostly don't
tick that way. Now it is your turn. If you would learn from your elder's
mistakes or repeat them yourself is the choice you must make alone.

Here is a set of command line options you might want to consider for your
test program:

  C:\home\igor> cl /I.\include test.c /link /libpath:.\lib libxml2.lib
  test.c
  /out:test.exe
  /libpath:.\lib
  libxml2.lib
  test.obj

  C:\home\igor> dir *.exe
   Volume in drive C is System
   Volume Serial Number is E84D-F6C5

   Directory of C:\home\igor

  02.01.2002  20:09            36.864 test.exe
                 1 File(s)         36.864 bytes
                 0 Dir(s)     554.854.400 bytes free

If you now type the above into your command window blindly, without risking
a second glimpse at it, you have chosen the hard way.

May The Force be with you.
Igor


----- Original Message -----
From: "Sergi March" <sergi march millorsoft es>
To: <xml gnome org>
Sent: Wednesday, January 02, 2002 10:20 AM
Subject: [xml] libxml2 compiling problems in windows


Hello all,

I'm trying to compile a sample application that uses the libxml2 library.

I'm using the cl compiler from VC98 under windows but
I get problems of "unresolved external symbols" in the call to the
functions of the library.

What command should I use, or where to put the libraries?

I compile through:

cl.exe test.c

Perhaps I need more options in the command line.

If have any ideas please help me!

Thanks in advance to everyone,
Sergi.





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