Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 05:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C++ Start problem

Discussion on C++ Start problem within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
Naworia's Avatar
 
elite*gold: 12
Join Date: Aug 2011
Posts: 455
Received Thanks: 418
Question C++ Start problem

I wanna start c++ because I need to make a winapi dll for some game engines. But I'm really confused because I researched how to make an http request, and I thought I should use 3rd party libraries. I downloaded libcurl and curlpp and copy/paste some example codes into my project but I didn't get that it gives error when I write like that:

Code:
#include <curlpp/cURLpp.hpp>
1) I moved all downloaded src files into the project debug folder
2) I moved all source files into visual studio project file.
3) I changed hpp to cpp because downloaded files was include cpp files.

They never work.
I don't know how I will use a 3rd party llibraries like libcurl or something. Please share your experiences with this noob programmer.
Naworia is offline  
Old 03/16/2014, 16:57   #2

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318
You have to add the corresponding directories to your project settings. Properties -> VC++ Directories -> Include directories + Library directories should be the paths, iirc.
snow is offline  
Old 03/16/2014, 16:58   #3
 
Naworia's Avatar
 
elite*gold: 12
Join Date: Aug 2011
Posts: 455
Received Thanks: 418
When I add directory and when I compile this project, files will include in dll file?
Naworia is offline  
Old 03/16/2014, 19:38   #4
 
Schlüsselbein's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 1,137
Received Thanks: 869
I have no idea what youre trying to say but whether you have to ship a dll with your application or not depends on how you link against the lib files.
Schlüsselbein is offline  
Old 03/17/2014, 19:44   #5

 
Delinquenz's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,160
Received Thanks: 232
You have to compile the libraries first of course.

Go in vc8/vc/windows (don't know it's name right now) directory and open the Visual Studio file. Compile it (probably set some settings with preprocessor defines like LIBCURL_DISABLE_LDAP and LIBCURL_DISABLE_LDAPS to disable default ldap dependency.
Delinquenz is offline  
Reply


Similar Threads Similar Threads
Start Problem
05/18/2011 - Metin2 - 2 Replies
Hey. Ich hab ei kleines Problem Und zwahr: Immer wen ich eine neue Map einfügen will und dans reboote kommt immer: mv: rename core/core6 Ich hoffe auf Hilfe :D
[Problem]Start von A.v.A
05/02/2011 - Alliance of Valiant Arms - 7 Replies
Heey com, ich habe ein problem beim starten von A.V.A Ich habe mich angemeldet und eingeloggt auf Game Start gedrückt anschließen noch mal auf Game start in Ijji REACTOR und dann muss ich mich wiederholt einloggen , mach ich und passiert nix , Was habe ich falsch gemacht? Oder wie kann ich diesen fehler beheben.? Danke, für euer Intresse
Problem mit Start
09/13/2010 - WarRock - 8 Replies
Problem: Wenn ich auf OK klicke schließt sich War Rock und ich habe keine lust NOCHMAL zu installieren (hatte ein anderes Problem wo immer die Fehlermeldung "Runtime Library, Blah Blah...", habe neuinstalliert und jetzt ne neue Fehlermeldung :(). Kann bitte jemand das markierte auf dem Screen aus seinem Ordner uploaden? Screen: http://img718.imageshack.us/img718/74/wrp.jpg
start problem by start (win7)
02/13/2010 - Silkroad Online - 4 Replies
when i start sro than is the connection picture small and i cant see the connection window .... pls help ^^ sry for my bad english
Kal Start Problem!!!
07/17/2008 - Kal Online - 11 Replies
:cry: hi hab mal ne frage habe kalonline nun 2-6 mal neu instaliert verschiedene kal install. daten gebraucht und jo immer kommt dieser fehler nach dem klick von Start game : Therei¯s a problem in the function of anti-hacking. The program is closing. kann mir ma einer sagen was ich da machen kann ? danke schon mal im vorraus :cry:



All times are GMT +1. The time now is 05:07.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.