当我NULL
时收到错误
sudo apt-get install libxml2-dev
我尝试遵循本指南:https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=105859
但是当我到达libxml2-dev : Depends: libxml2 (= 2.9.4+dfsg1-1+b1) but 2.9.4+dfsg1-1 is to be installed
E: Unable to correct problems, you have held broken packages.
时,该目录不存在。这是我的实际输出:
cd ~/libxml2-2.9.1
有什么想法吗?
答案 0 :(得分:0)
结束从源代码下载:https://packages.debian.org/search?keywords=libxml2
然后通过<html><head>
<title>
</title>
<meta charset="utf-8" />
<script src="http://www.babylonjs.com/babylon.js"></script>
<script>
var canvas = document.getElementById("can");
var engine = new BABYLON.Engine(canvas, true);
var scene = new BABYLON.Scene(engine);
var camera = new BABYLON.ArcRotateCamera("cam", 0, Math.PI / 2, 10, BABYLON.Vector3(0, 0, 0), scene);
var light = new BABYLON.HemisphericLight("hemo", new BABYLON.Vector3(0, 1, 0), scene);
var box = BABYLON.Mesh.CreateBox("box", 3, scene);
var material = new BABYLON.StandardMaterial("nut", scene);
box.material = material;
material.diffuseColor = BABYLON.Color3.Red();
engine.runRenderLoop(function () {
box.rotation.y += 0.01;
scene.render();
});
</script>
<style>
html,body{
overflow:hidden;
width:100%;
height:100%;
margin:0;
padding:0;
}
</style></head><body> <canvas id="can" style="width:100%;height:100%"></canvas></body></html>
答案 1 :(得分:0)
&#34; 784未升级。&#34;
每当你的山核桃?也许你无法安装这个,因为你没有稳定的软件包。