无法引入SFML.jl

Julia Version 1.5.0
Commit 96786e22cc (2020-08-01 23:44 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel® Xeon® CPU L5638 @ 2.00GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, westmere)

  1. Status ~/.julia/environments/v1.5/Project.toml (empty project)

(Pkg状态下的add)
ERROR: The following package names could not be resolved:

  • SFML (not found in project, manifest or registry)

(Pkg.add)
ERROR: The following package names could not be resolved:

  • SFML (not found in project, manifest or registry)

(Pkg状态下add GitHub链接)
(@v1.5) pkg> add https://github.com/zyedidia/SFML.jl
Cloning git-repo https://github.com/zyedidia/SFML.jl
Updating git-repo https://github.com/zyedidia/SFML.jl
ERROR: could not find project file in package at https://github.com/zyedidia/SFML.jl maybe subdir needs to be specified

库的链接:https://github.com/zyedidia/SFML.jl
版本未知


中说:
To install on any OS, run:
julia> Pkg.add("SFML")

If you want to install the master version use:

julia> Pkg.clone("SFML")
julia> Pkg.build("SFML")

但事实上并没有成功安装,而是出现了以上的报错

SFML 最后更新已经是2018年,包里面缺少 Project.toml,
照理说不是现在的合法Julia包。

你如果一定要用,可以尝试用Julia 0.x

好的我明白了,谢谢你帮助我

CSFML 应该能用:

Linux 下需要先装那几个依赖,这两天在升级 Linux platform 到 Yggdrasil, 感兴趣的话可以来帮忙 build 几个依赖。(基本就是 LFS 搜一下 build script,然后在 BB2 里 build,是个水 Hacktoberfest 的好方法 :sweat_smile:

我刚刚也发现了CSFML :slightly_smiling_face:谢谢你~ :+1:
有时间我会去看的(指Yggdrasil) :+1:

SimpleMediaDirectLayer.jl

(不懂就问)
LFS是什么,是Linux From Scratch吗?还是GitHub的Large File Storage
BB2又是什么,是Building Blocks 2还是 BinaryBuilder? :frowning: :face_with_monocle:
学识疏浅,还望见谅

这是个啥?到处搜了一遍没发现 :thinking:

SimpleDirectMediaLayer.jl

打错了

Linux From Scratch

BinaryBuilder

OK~ :+1:

京ICP备17009874号-2