Comments (5)
I just tried:
vsgviewer models/readymap.vsgt
On my Kubuntu 22.04 system and everything works fine, this is latest VSG, vsgXchange and vsgExamples.
Which version of the VSG, vsgXchange, libcurl, OS and compiler tools are you using?
The file extension shouldn't affect the libcurl operation - vsgXchange simply opens a connection with libcurl and downloads the data and then locally reads it as a png/jpg etc. The report of "Unsupported protocol" looks like an issue with opening the connection to the server for some reason.
from vsgexamples.
From libcurl docs: https://curl.se/libcurl/c/libcurl-errors.html
CURLE_UNSUPPORTED_PROTOCOL (1)
The URL you passed to libcurl used a protocol that this libcurl does not support. The support might be a compile-time option that you did not use, it can be a misspelled protocol string or just a protocol libcurl has no code for.
http should be supported so perhaps your libcurl has been built with limitations or there is firewall that's causing problems with that service. Try investigating with invoking the curl command line on the http address being reported as a problem and see if it gives you any more information.
I think mostly likely it's a local issue rather than a specific problem with vsgXchange so I'd recommend investigating it at your end as there isn't anything more I can do as it's all working at my end so I have no clues to what might specifically wrong on your system.
from vsgexamples.
my os is win10, the vsg ,vsgXchange i s latest. the compile is vs2019.
the libcurl is 7.57 。I will try another version libcurl.
Thanky you!
from vsgexamples.
I have test another libcurl ,the outcome is same, but i do some test, maybe I found the problem.
I do some test with the libcurl.
the return show the page not exist in http, just exist in https.
I get the right jpeg
alse, i can get the data in https
.
but when I use vsgviewer, curl just supprt http,no support https.
in http, "vsgviewer openstreetmap.vsgt" run right.
in http, "vsgviewer readymap.vsgt" run error, Unsupported protocol.
I change the http to https in the openstreetmap.vsgt and readymap.vsgt.
all run error, Unsupported protocol.
from vsgexamples.
The issue with https on some versions of libcurl under Windows is a known problem, it's not VSG related, but just how some libcurl binaries have been built. There is some code in vsgXchange to work around some of the https related issues that libcurl has thrown up, but it looks like you are still seeing problems so perhaps you'll need to do more with your version of libcurl.
from vsgexamples.
Related Issues (20)
- how to render models with tileData? HOT 1
- If vsgTransform is no command line parameter, it will crash. HOT 1
- Wayland support HOT 2
- Compiling issues for vsgvolume example HOT 4
- vertex and fragment source for vert_PushConstants.spv and frag_PushConstants.spv HOT 5
- Checked-in code inconsistent with .clang-format HOT 4
- vsgshadow without shadows on MacOS HOT 16
- None of the example models are actually compatible with vsgclip example HOT 2
- vsgshadow has black patches flickering on the ground HOT 4
- No CMakeLists.txt file for vsgoffscreenshot HOT 2
- vsgscreenshot can produce strange output HOT 2
- vsgexecutecommands crashes on windows HOT 8
- VSG_INSTANCE_POSITIONS format change HOT 2
- Request for a hello-world example HOT 3
- How to display a point on the earth map? HOT 1
- vsgvolume is actually broken on Windows 11 and Ubuntu 22.4 HOT 3
- problem with overlay views using multiple render graphs in the same window HOT 3
- DescriptorPool warning when using compileManager with storage buffers HOT 2
- Examples abort on shutdown when run in Debug HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsgexamples.