![]() |
| ||
| problem with cygcurl-2.dll Hi, i'm trying to use cygcurl-2.dll, i downloaded a simple example from curl site bur i'm not able to compile it properly. the example is this: #include <stdio.h> the compiler recognizes the include of the header, but for all the rest i get : "undefined reference to `_curl_easy_init'" etc. what am i doing wrong? |
| ||
| Re: problem with cygcurl-2.dll Which compiler are you using. I'm guessing that it's gcc with cygwin, since that's the library you mention. What command line did you try? It needs to be something like gcc prog.c -lcurlThe part at the end is what tells the compiler that you're interested in using curl functionality. Obviously, you need to find the correct name for your library to substitute in that command line. |
| ||
| Re: problem with cygcurl-2.dll Thanks for your answear. yes, i'm using gcc g++, but i'm actually using it as a plugin for eclipse, so i compile my files with eclipse. i tried importing the dll to my project, but like i said i get these errors. maybe you can make something out of it:
like i said, it recognizes the #include <curl/curl.h> but not the commands that come after. originally i come from java world, so i'm not very familiar with c++, so i'd appriciate it if you can give it to me in laim terms :). |
| All times are GMT -4. The time now is 2:42 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC