I am reading julia 1.0.0 manual. In chapter 17 page 300, it uses the following command to call Clock function from C but I get an error. I tried install Cxx but of no help.
julia> ccall((:clock, "libc"), Int32, ())
ERROR: error compiling top-level scope: could not load library "libc"
The specified module could not be found.
(v1.0) pkg> add Cxx;build;precompile
Updating registry at `C:\Users\chatura\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Cxx [a0b5b9ef]:
Cxx [a0b5b9ef] log:
├─possible versions are: [0.0.1-0.0.2, 0.1.0-0.1.1, 0.2.0] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1-0.0.2, 0.1.0-0.1.1, 0.2.0]
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left