XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 3rd, 2004, 12:09 PM
arczi999 arczi999 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 arczi999 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy STRANGE problem with libxml2 HELP ME... Pleas...

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!!!!!!!!!!!!!!!

:( :( :( :( :( :(

Reply With Quote
  #2  
Old September 5th, 2004, 07:32 PM
NotGoddess's Avatar
NotGoddess NotGoddess is offline
Kung-fu Kitty
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 350 NotGoddess User rank is Sergeant (500 - 2000 Reputation Level)NotGoddess User rank is Sergeant (500 - 2000 Reputation Level)NotGoddess User rank is Sergeant (500 - 2000 Reputation Level)NotGoddess User rank is Sergeant (500 - 2000 Reputation Level)NotGoddess User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 6 h 9 m 2 sec
Reputation Power: 10
Send a message via AIM to NotGoddess
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > STRANGE problem with libxml2 HELP ME... Pleas...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT