Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPC.get on Windows 8.1 with Julia Studio 0.4.4 #229

Open
peterquirk opened this issue Jun 19, 2014 · 0 comments
Open

HTTPC.get on Windows 8.1 with Julia Studio 0.4.4 #229

peterquirk opened this issue Jun 19, 2014 · 0 comments

Comments

@peterquirk
Copy link

For my very first experiment with Julia, I'm trying to access a REST endpoint with this tiny piece of code:
using HTTPClient.HTTPC
using JSON
using Base.Test
statsUrl = "http://192.168.8.73:8888/api/v1/stats/storage"
println("About to access URL : $statsUrl")
r=HTTPC.get(statsUrl)
@test r.http_code == 200
println("Test 1 passed, http_code : " * string(r.http_code))

The program outputs:
About to access URL : http://192.168.8.73:8888/api/v1/stats/storage
LoadError("C:/Users/pquirk/Documents/julia/testHTTP.jl",8,ErrorException("error compiling get: error compiling setup_easy_handle: could not load module c:\users\pquirk\Documents\julia\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libcurl-4: The specified module could not be found.\r\n"))

I have installed HTTPClient, JSON, LibCurl, amongst other things. What do I have to do to configure my environment correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants