LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating libcurl into LabWindows

Hi,
 
I am using LabWindows 6.0 and want to integrate libcurl 7.17.1 to connect to an ftp server. I set the include path to the libcurl directory and included the header "curl.h". However there seem to be conflicts between the libraries that LabWindows and libcurl use. I get a lot of errors for "curl.h", for example for the line
 
  typedef off_t curl_off_t;
 
the error says "   "curl.h"(106,17)  syntax error; found 'identifier' expecting ';'. ".
 
Has anyone tried to include libcurl-headers into LabWindows? Did you encounter the same problem and can maybe give me some hints?
 
Thanks in advance
junimond
0 Kudos
Message 1 of 2
(3,655 Views)
I never used libcurl but I successfully wrote a small client that accesses and updates a file on an ftp server using SDK functions (InternetOpen, InternetConnect, FtpOpenFile, InternetWriteFile): you may want to follw this way that does not uses anything outside standard CVI environment. SDK functions are fully available in CVI6.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,652 Views)