User:DaFox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
#* Navigate to your ''%modname%\src\game\client\libcurl'' folder and paste the the files there.
#* Navigate to your ''%modname%\src\game\client\libcurl'' folder and paste the the files there.
#* Go back to Visual Studio, right click the libcURL project folder that you had created and select [http://i.imgur.com/DFiQj.png Add -> Existing Item]
#* Go back to Visual Studio, right click the libcURL project folder that you had created and select [http://i.imgur.com/DFiQj.png Add -> Existing Item]
#* Navigate to your ''%modname%\src\game\client\libcurl'' folder and [http://i.imgur.com/V3QYn.png select all] of the files that you copied over there (sans the include folder!)
#* Open up your ''%modname%\src\game\client\libcurl'' folder and [http://i.imgur.com/V3QYn.png select all] of the files that you copied over there (sans the include folder!)




http:// i.imgur.com/tTSzW.jpg
http:// i.imgur.com/tTSzW.jpg

Revision as of 14:18, 13 July 2010

http://steamcommunity.com/id/DaFox

  1. Download the latest stable source archive of cURL here and then proceed to extract it.
  2. Navigate to your freshly extracted curl-#.##.#\include\curl folder and copy all of the files EXCEPT curlbuild.h.cmake, curlbuild.h.in, Makefile.am and Makefile.in as seen here.
    • Create a new folder in %modname%\src\game\client\ named libcurl. Inside of the newly created curl folder create a folder named include.
    • Paste the copied files into your mods newly created %modname%\src\game\client\curl\include folder.
  3. Open your mod in Visual Studio, Under the client project right click on your preferred project folder, In this example I am using my mods generic folder that I have created, Select Add -> New Folder.
    • Name the project folder cURL.
    • Create a new project folder within the cURL project folder that you just created named include, like so.
    • Right click the include folder select Add -> Existing Item.
    • Navigate to your %modname%\src\game\client\libcurl\include folder and select all of the files in there and finish off by clicking Add.
  4. Go back to your curl-#.##.# folder that you extracted earlier, navigate to the \lib\ folder.
    • Select all of the SOURCE FILES in curl-#.##.#\lib\ that have the extension .c and .h and Copy them.
    • Navigate to your %modname%\src\game\client\libcurl folder and paste the the files there.
    • Go back to Visual Studio, right click the libcURL project folder that you had created and select Add -> Existing Item
    • Open up your %modname%\src\game\client\libcurl folder and select all of the files that you copied over there (sans the include folder!)


http:// i.imgur.com/tTSzW.jpg