HTTP downloading from R1Q2- which version of libcurl to use?

Discuss programming topics for the various GPL'd game engine sources.
Knightmare
Posts: 63
Joined: Thu Feb 09, 2012 1:55 am

Re: HTTP downloading from R1Q2- which version of libcurl to

Post by Knightmare »

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.
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: HTTP downloading from R1Q2- which version of libcurl to

Post by revelator »

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.
Productivity is a state of mind.
Post Reply