Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Programming with Third Party (libcurl)

I see in Unreal Engine's Source directory there are a number of third party tools. How do we use them in our projects? For example, I tried to run sample code straight from libcurl's website, but it won't work. Pressing compile into the editor says libcurl can't be found. I am new to C++, anyone willing to help? Thank you!

Product Version: UE 4.11
more ▼

asked May 31 '16 at 10:28 PM in C++ Programming

avatar image

31 3 9 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

First and for most you should use UE4 APIs as much as you can, there 99% compatible with UE4 types making things a lot easier, all you see in ThirdParty as libraries used in UE4 and power of it is accessable thru UE4 APIs. UE4 provide HTTP APIs it is where libcurl is used by UE4, here is example how to use it:


But if you really want to use libcurl, looking on HTTP module you just need to add this depency in to build script (*.cs file)

 AddThirdPartyPrivateStaticDependencies(Target, "libcurl");

And do those includes in cpp:

 #include "Curl/CurlHttp.h"
 #include "Curl/CurlHttpManager.h"
more ▼

answered Jun 01 '16 at 01:51 AM

avatar image

37.8k 937 172 1123

avatar image DaiWei Jun 01 '16 at 03:49 PM

Thanks for taking the time answer. I am getting this error: fatal error C1083: Cannot open include file: 'Curl/CurlHttp.h': No such file or directory. I placed this in the correct place, right? alt text

ue4.png (27.1 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question