HTTP downloading from R1Q2- which version of libcurl to use?
Moderator: InsideQC Admins
17 posts
• Page 2 of 2 • 1, 2
Re: HTTP downloading from R1Q2- which version of libcurl to
No, I am linking with the static version. The problem was curl 7.37.0 didn't include a project file I could tweak and so had to use the makefile to buld the static lib with nmake. And that makefile apparently has some stuff wrong.
Anyway, your curl_static.lib links perfectly.
Edit: I found the latest version's VS2008 project files, they were under projects/Windows instead of under lib/. I found that the projects were set compile as C++ code using the DLL runtime libraries- obviously I changed that to C and non-DLL runtime libraries. I also added those libs you listed to the Additional Dependencies under the Librarian/General section of the project's Configuration Properties. And now the library I compiled links perfectly, too.
Anyway, your curl_static.lib links perfectly.
Edit: I found the latest version's VS2008 project files, they were under projects/Windows instead of under lib/. I found that the projects were set compile as C++ code using the DLL runtime libraries- obviously I changed that to C and non-DLL runtime libraries. I also added those libs you listed to the Additional Dependencies under the Librarian/General section of the project's Configuration Properties. And now the library I compiled links perfectly, too.
- Knightmare
- Posts: 63
- Joined: Thu Feb 09, 2012 1:55 am
Re: HTTP downloading from R1Q2- which version of libcurl to
Good you got it sorted 
yeah curl's project files are place a bit different in the latest version, actually im not even sure the old versions could be built out of the box unless you got mingw or made your own project files.
yeah curl's project files are place a bit different in the latest version, actually im not even sure the old versions could be built out of the box unless you got mingw or made your own project files.
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
17 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest