Author Topic: cURL Windows  (Read 583 times)

Offline AIR

  • BASIC Developer
  • Posts: 817
Re: cURL Windows
« Reply #30 on: August 19, 2021, 10:09:07 am »
John,
Which C package is the windows version of SB built with?  VC or MinGW?  Just curious because the dll was built with MinGW....

Offline John

  • Forum Support / SB Dev
  • Posts: 3114
    • ScriptBasic Open Source Project
Re: cURL Windows
« Reply #31 on: August 19, 2021, 02:03:20 pm »
The  Windows SB core release was built with TDM-GCC-32.

Can you try building the cURL extension module for Windows 32 and see if you can get it working with your cURL source build?
« Last Edit: August 19, 2021, 02:27:18 pm by John »

Offline AIR

  • BASIC Developer
  • Posts: 817
Re: cURL Windows
« Reply #32 on: August 19, 2021, 05:28:05 pm »
I don't have a 32bit environment set up.
Question:  Were you trying my cURL build on 32bit SB?  What I built is 64bit......

Offline John

  • Forum Support / SB Dev
  • Posts: 3114
    • ScriptBasic Open Source Project
Re: cURL Windows
« Reply #33 on: August 19, 2021, 08:04:55 pm »
The SB core build I just released is 32 bit. I'm not doing anything in 64 bit on Windows. COM/OLE is a big part of what I use it for.

I'm surprise the extension module compiled being that libcurl.a was 64 bit.

Offline AIR

  • BASIC Developer
  • Posts: 817
Re: cURL Windows
« Reply #34 on: August 19, 2021, 08:36:18 pm »
Can you post your makefile for windows?

Offline John

  • Forum Support / SB Dev
  • Posts: 3114
    • ScriptBasic Open Source Project
Re: cURL Windows
« Reply #35 on: August 19, 2021, 08:40:59 pm »
I already did. It's part of this thread.

I would like to do a COM/OLE challenge but afraid I would lose your interest. :(

Offline AIR

  • BASIC Developer
  • Posts: 817
Re: cURL Windows
« Reply #36 on: August 19, 2021, 09:11:16 pm »
I meant for the entire thing.
It's okay, I pulled the old 64bit archive from a backup.

Offline John

  • Forum Support / SB Dev
  • Posts: 3114
    • ScriptBasic Open Source Project
Re: cURL Windows
« Reply #37 on: August 19, 2021, 09:15:21 pm »
AIR,

I would be happy to zip up my Windows 32 SB source directory and send it to you.

Offline AIR

  • BASIC Developer
  • Posts: 817
Re: cURL Windows
« Reply #38 on: August 19, 2021, 09:22:37 pm »
No Need.

Offline John

  • Forum Support / SB Dev
  • Posts: 3114
    • ScriptBasic Open Source Project
Re: cURL Windows
« Reply #39 on: August 19, 2021, 09:24:41 pm »
I just sent it to your Gmail account before reading this.


This will give you a peek at the Makefile you created and I modified.
« Last Edit: August 19, 2021, 09:26:20 pm by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 3114
    • ScriptBasic Open Source Project
Re: cURL Windows
« Reply #40 on: August 19, 2021, 09:30:21 pm »
It bounced. Here is the Makefile.

Offline AIR

  • BASIC Developer
  • Posts: 817
Re: cURL Windows
« Reply #41 on: August 19, 2021, 10:06:58 pm »
Don't need it, I don't have 32bit windows or dev environment.

See attached for 64bit scriba with 64bit curl module using Windows Native SSL and test file.  Keep it all together for now in same folder.

Code: [Select]
--------------------
Title: Riding the Geolocation Wave
Presenter: Tatham Oddie
Date: Tue, 15 Mar 2011 20:26:00 GMT
Description: It’s pretty obvious by now that geolocation is a heavy player in the next wave of applications and APIs. Now is the time to learn how to take advantage of this information and add context to your own applications. In this session we’ll look at geolocation at every layer of the stack – from open protocols to operating system APIs, from the browser to Windows Phone 7. Building a compelling geo-enabled experience takes more than simple coordinates. In this session we will introduce the basics of determining a user’s location and then delve into how to make geo data a useful addition to your application instead of a bolt-on “me too”.
Video Link: http://video.ch9.ms/ch9/7ce8/f849553d-644e-4dad-8deb-9ea700dd7ce8/MIX11EXT04_high_ch9.mp4
Duration: 00:47:52
--------------------
Title: Flickr API: Tap Into Billions of Photos for Windows Phone 7
Presenter: Markus Spiering
Date: Tue, 15 Mar 2011 20:26:00 GMT
Description: Do you want your app to integrate with one of the world’s leading photosharing site? The Flickr for Windows Phone 7 app is a full featured mobile application that is pushing the boundaries of UX design and is 100% built on Flickr's API methods that are available for developers. This talk will introduce the mobile app, highlight some of the complex design decisions, and provide insights into the Flickr API methods. Attendees will learn how to enrich their applications using Flickr's rich content via the Flickr APIs.
Video Link: http://video.ch9.ms/ch9/7BAE/1F7A8CCB-5580-47BF-9371-9EA700DD7BAE/MIX11EXT01_high_ch9.mp4
Duration: 00:50:32
--------------------
Title: Fonts, Form and Function: A Primer on Digital Typography
Presenter: Robby Ingebretsen
Date: Tue, 15 Mar 2011 20:26:00 GMT
Description: Typography in digital experiences is unavoidable, and for years it was a fight we mostly lost. Today, however, technology is on our side! High resolution screens, an expanding library of open fonts and new flexibility in nearly every UI technology have made digital typography more fun and more interesting than ever. We'll cover all aspects of working with digital type: everything from choosing complimentary typefaces to licensing, rendering and a system for layout and sizing. We all love type. Come to this talk to learn why!
Video Link: http://video.ch9.ms/ch9/7bc8/133b3b99-1949-4ef4-a27c-9ec6010c7bc8/MIX11EXT02_high_ch9.mp4
Duration: 01:03:27

AIR.

Offline John

  • Forum Support / SB Dev
  • Posts: 3114
    • ScriptBasic Open Source Project
Re: cURL Windows
« Reply #42 on: August 28, 2021, 05:02:23 pm »
AIR,

I'm trying to compile the cURL module but don't have the work you did to create the module. Can you send me your curl extension module directory and anything else I need to build it?

Thanks!