The archives that contain the binary distributions are located in folders named after their intended architecture e.g. I strongly encourage you to download the binary files since I will not cover the compilation of NASM in this guide. You have the choice between downloading the source code or pre-compiled binaries. In order to obtain the latest version of the Netwide Assembler, click on the link in the table below and, on the webpage that appears, follow the link that takes you to the latest stable version of NASM. I recommend the opensource archiver 7-Zip. Hence, you will need a utility to uncompress and subsequently open the tar file. The OpenSSL and libSSH2 libraries are distributed as tarballs compressed using gzip. OpenSSL also requires the Netwide Assembler to be present on your computer. I have chosen ActivePerl, a free distribution by ActiveState, for this purpose. Also, since the compilation of OpenSSL makes use of Perl scripts, you need to have a Perl distribution installed on your machine. Downloading the latest software Libcurl requires two additional open-source libraries in order to provide the SSH functionality: libSSH2 and OpenSSL. This guide is inspired from Rosso Salmanzadeh's excellent “Using libcurl in Visual Studio” guide.Ģ. Thus, I have decided to create this document in order to share my experiences while compiling a static version of the curl library with SSH support in Visual Studio 2008. This wide support also means that the developers cannot constantly update the readme files for all the supported platforms. You can build it on numerous platforms and you can be sure that it will work the same way on all of them. One of libcurl‟s strengths is its portability. FTP, HTTP, SFTP etc.) and it is very well designed. Introduction Libcurl is a widely-used open-source library for transferring files. Italic is used for filenames, directory names, and URLs constant width is used to indicate commands and code sections red, bold and underlined text indicates important items bold is used to represent GUI items (e.g. USING THE LIBCURL LIBRARY IN YOUR VISUAL STUDIO PROJECTĤ.1 Preparing the project’s file structureĤ.3 How to use the libcurl library 4.3.1 Sample source code 4.3.2 Adding libcurl to the list of libraries 4.3.3 The test-driveĪPPENDIX A – ADDING OPENSSL SUPPORT DIRECTLY TO LIBCURLĬonventions The following font conventions are used in this document: New section added: „Appendix A – Adding OpenSSL support directly to libcurl„ Updated the guide to reflect the latest versions of: o ActivePerl (5.12.2) o libcurl (7.21.2) o libSSH2 (1.2.7) o NASM (2.09.03) o OpenSSL (1.0.0a)Īcknowledgements I would like to thank the following people for helping me make this guide what it is today by letting me know about typos and by suggesting improvements: Ĭhengwei Lin Jon Woellhaf Philipp Leusmann Reinhard Gentz Jack SchmidtĤ. Updated the guide to reflect the latest versions of: o ActivePerl (5.) o libcurl (7.19.7) o libSSH2 (1.2.2) o NASM (2.8 RC 6) o OpenSSL (1.0.0 Beta 4). Updated the guide to reflect the latest versions of libSSH2 (1.1) and OpenSSL (1.0.0 Beta 2). Using libcurl with SSH support in Visual Studio 2008Ĭomment Initial version section 3.4, item 3.b.ii: o replaced CURL_STATIC by CURL_STATICLIB o added CURL_DISABLE_LDAP section 4.3.2, item 4.b: o removed wldap32.lib Updated the guide to reflect the latest versions of libcurl (7.19.4), libSSH2 (1.0) and OpenSSL (0.9.8j). Using libcurl with SSH support in Visual Studio 2008 Version 1.6 © Andrei Jakab ( )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |