From: Jan M. <jan...@vo...> - 2008-04-06 14:57:39
|
Hello, there are some problems i encountered with that stuff. As I looked for some hints on the Internet i haven't any standard process to deal with this. So I followed the gcc manual and tried gcc -o myprog -Ldir=libxml -llibxml2.lib main.c then just: gcc -o myprog -llibxml2.lib main.c having the file in my working directory . But gcc writes down it cannot find the library. There are some hints to have the shared libraries within the PATH but I am not sure if in Windows PATH or aome compiler library path. Also there is three files coming in libxml in lib directory. Clibxml2.lib libxml2_a.lib libxml2_a_dll.lib I'm not sure if these libs are dlls or what. Thanks Jan Mura ----- Original Message ----- From: <yan...@12...> To: "Jan Mura" <jan...@vo...> Sent: Sunday, April 06, 2008 11:17 AM Subject: Re:[Dev-C++] Linkding DLL Hi, Copy the h file and dll file to your project directory. Then include the h file in your c ro cpp source file, and now select menu project->project property. select parameter item, you will see the linker setting. Add your dll file in the linker textarea. Gook Luck! 在2008-04-06,"Jan Mura" <jan...@vo...> 写道: Hello, would like to ask how to link the DLL, which came withlibxml? There are some headers files of course and some DLL. I am not very familiar with that. And by the way I rather use gcc.exe and make.exe in Command Prompt. Of course I have on my mind Windows box. So also would like to know which is the best directory to place the DLL library and the headers files? Thank you in advance Jan Mura jan...@vo... ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |