|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have STRANGE problems with libxml2..... I'v installed the library, and i whanted to compile the examples from the "http://xmlsoft.org/examples/index.html" site.... (especially the "parse1.c' and the "parse2.c"). I can compile this files without any problems - I have the "parse1.exe' file - and going after the instructions i was trying to execute this program in the following way: "parse1.exe test1.xml" [ENTER].... Then the program crash... :confused: WHY????????
Here are some additional infos: 1. My operation system: Windows98 2. I have the Dev-C++ v4.9.7.0 3. I'v download the "libxml2-2.6.7.win32.zip" file from "http://www.zlatkovic.com/projects/libxml/" site 4. The "libxml2.dll" from "libxml2-2.6.7.win32.zip" I'v copy to "c:\windows\system" directory 5. The "*.h" files from "libxml2-2.6.7.win32.zip" I'v copy to a "c:\program files\dev-cpp\include\libxml" directory 6. The "libxml2.lib" and the "libxml2_a.lib" I'v copy to a "c:\program files\dev-cpp\lib\" directory 7. In the "Project->Project Options->Linker Opitions" I have add: "C:\Program files\Dev-Cpp\lib\libxml2.lib" 8. I'v set the path in the "Project->Project Options->Files/Directories->Library Direstories" for "C:\Program files\Dev-Cpp\lib" 9. I'v set the path in the "Project->Project Options->Files/Directories->Include Direstories" for "C:\Program files\Dev-Cpp\include\libxml" 9. In the "Project->Project Options->Compiler" I was traing to add: "-lxml2" - without any effect 10. I was trying alsow with "libxml2_a.lib" instead the "libxml2.lib" - without any effect What I'am doing wrong? PLEAS HELP ME!!!! I'am studying the mathematic and I'am not good in things like programming..... but i have to write a program in libxml2 and DevC++....... Pleas HELP ME!!!!! (should I recompile the libxml2 under the gcc?, how to do this?, mayby wrong version of libxml?, mayby I should set some flags to a compiler?, where to do this?............. I'am confused HELP ME!!!!!!) sorry for BAD English....... THANKS FOR ANY HELP!!!!!!!!!!!!!!! :( :( :( :( :( :( |
|
#2
|
||||
|
||||
|
I've used libxml2, but only with tcl, I'm afraid I've no experience using it w/ Dev-C++. Have you tried asking in the C programming forum?
Addition: I did a search here on libxml2 and found several posts. Why don't you see if one of those might help as well? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > STRANGE problem with libxml2 HELP ME... Pleas... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|