Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 17
Registered: ‎04-06-2013
My Device: Z10
My Carrier: Vodafone
Accepted Solution

something about CURL

Hi all~

 

when i want to use the CURL ,but something error 

like 20130801212000.jpg

i  have  " #include "curl/curl.h" " in the .cpp file

Did i forget something? 

 

 

Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: something about CURL

Hi,
I can't see the screenshot yet, so will try to guess:

In .cpp file use angle brackets:
#include <curl/curl.h>

In .pro file add:
LIBS += -lcurl

Andrey Fidrya, @zmeyc on twitter
Highlighted
Developer
Posts: 17
Registered: ‎04-06-2013
My Device: Z10
My Carrier: Vodafone

Re: something about CURL

Yeah~ Thank you~ 

that is the way to solve the problem! Thank you again!