glut linux 安装包,“包GLUT不存在”,即使安装在Arch Linux的CL-的OpenGL
我有泥配置上的Arch Linux的Common Lisp(SBCL)开发的emacs。事情是,我现在也想开始使用OpenGL,所以我已经安装了cl-opengl来提供必要的绑定。我还在.local/share/common-lisp上建立了一个到/ usr/share/common-lisp的符号链接(我应该能够以这种方式使用ASDF加载所有系统)。“包GLUT不存在”,即使安装在Arch Linux的CL-的OpenGL
然而,当我尝试编译在泥下面的代码(使用抄送CK)
(require :asdf) ; need ASDF to load other things
(asdf:load-system :cl-opengl) ; load OpenGL bindings
(asdf:load-system :cl-glu) ; load GLU bindings
(asdf:load-system :cl-glut) ; load GLUT bindings
(defclass my-window (glut:window)
()
(:default-initargs :width 400 :height 300
:title "My Window Title"
:x 100 :y 100
:mode '(:double :rgb :depth)))
(defmethod glut:display-window :before ((win my-window))
(gl:shade-model :smooth) ; enables smooth shading
(gl:clear-color 0 0 0 0) ; background will be black
(gl:clear-depth 1) ; clear buffer to maximum depth
(gl:enable :depth-test) ; enable depth testing
(gl:depth-func :lequal) ; okay to write pixel if its depth
; is less-than-or-equal to the
; depth currently written
; really nice perspective correction
(gl:hint :perspective-correction-hint :nicest)
)
(defmethod glut:display ((win my-window))
(gl:clear :color-buffer-bit :depth-buffer-bit)
(gl:load-identity))
(defmethod glut:reshape ((win my-window) width height)
(gl:viewport 0 0 width height) ; reset the current viewport
(gl:matrix-mode :projection) ; select the projection matrix
(gl:load-identity) ; reset the matrix
;; set perspective based on window aspect ratio
(glu:perspective 45 (/ width (max height 1)) 1/10 100)
(gl:matrix-mode :modelview) ; select the modelview matrix
(gl:load-identity) ; reset the matrix
)
(glut:display-window (make-instance 'my-window))
我得到以下错误:
READ error during COMPILE-FILE:
Package GLUT does not exist.
即使CL-glut.asd中存在的/ usr /共享/共口齿不清/系统。
我在做什么错?
+0
的可能重复的[无法从泥运行时查找包,而是从命令行是OK](http://stackoverflow.com/questions/15029420/not-able-to-find-package-when-running -from-粘液 - 丁从-命令行-是-OK) –
2013-04-22 21:31:16
glut linux 安装包,“包GLUT不存在”,即使安装在Arch Linux的CL-的OpenGL相关推荐
- xdag的linux安装包,超詳細XDAG GPU挖礦教程 Linux 篇
1. 安裝錢包 1) 在HOME下創建並進入coin目錄 mkdir coin cd coin 2)安裝依賴庫及編譯工具 sudo apt-get install gcc libssl-dev bui ...
- questasim linux安装包,Ubuntu16.04下Questasim10.7安装(64bit)全攻略
第二步:Crack (1) 将sfk.MentorKG.exe文件复制到 /usr/local/games/questasim/[安装目录]下 cp sfk /usr/local/games/ques ...
- 【泛微ecology】E-Mobile 7 win+linux 安装包(版本20210409)
E-Mobile 7 win+linux 安装包(版本20210409) 含 emp_patch_20210526 更新包 链接:https://pan.baidu.com/s/1gj_Cj8Zq6I ...
- redis linux 安装包下载,redis linux安装包
redis linux安装包适用于Linux系统平台,如果您需要搭建NOSQL数据库,可以在本页下载该安装包.安装存在一些前提要求,例如C++编译环境.gcc编译器,下载解压包之后,需要您根据项目情况 ...
- Linux安装包-run制作
linux安装包制作简单总结: 1.压缩文件:解压后直接可以使用 tar,zip,gz等 2.包管理工具 ubunut:deb,redhat:rpm 3二进制包:脚本+程序 b ...
- Ubuntu 16.04版本的 网易云音乐 linux 安装包资源以及下载过程
网易云官网没有了支持Ubuntu16.04 版本的Linux安装包 ,以下提供相关绝版资源的链接: https://pan.baidu.com/s/10H5ifLJonrBq2F1kA2kpqw ...
- linux安装包U盘刻录工具:rufus-3.13.exe
linux安装包U盘刻录工具:rufus-3.13.exe
- 华为手机 android8.0APP更新时出现安装包解析异常的提示及安装闪退(无反应)问题
华为手机 android8.0APP更新时出现安装包解析异常的提示及安装闪退(无反应)问题 参考文章: (1)华为手机 android8.0APP更新时出现安装包解析异常的提示及安装闪退(无反应)问题 ...
- 为什么应该安装使用 Arch Linux
Arch Linux 无疑是 Linux 高级用户最好的发行版之一.但是在安装 Arch 之前,您应该了解一些关于 Arch 的事情. 安装大多数 Linux 发行版时,您只需下载 ISO,创建可启动 ...
最新文章
- 注意力机制又一大作!DCANet:学习卷积神经网络的连接注意力
- android jar 无法访问r文件,android项目中gen目录不能自动生成R.java的原因
- [BZOJ1030]:[JSOI2007]文本生成器(AC自动机+DP)
- 从目录中查找最大和最小的文件(不包括子目录)
- boost::math模块演示负二项分布使用的简单示例的测试程序
- prometheus变量_TiKV 源码解析系列文章(四)Prometheus(下)
- 如何在windows上将本地项目上传到Github
- 凭什么老程序员被裁,应届生却能月薪 1.3 万?
- 毕业设计论文选题系统系统用例图_基于Web的毕业论文管理系统的设计与实现
- devc运行不出窗口_足不出户“云出庭”?沾化“智慧检务”让法律监督“不打烊...
- 【转】URL和URI的区别
- 结构模式--之--享元模式
- 在sqlserver中写脚本用到的关键字理解
- 自动驾驶算法-滤波器系列(一)——详解卡尔曼滤波原理
- 月薪仅18K的NLP工程师,回炉重造吧!
- 牛客练习赛73 遥远的记忆(理解)
- python tokenize怎么用_tokenize --- 对 Python 代码使用的标记解析器 — Python 3.9.1 說明文件...
- python实现千牛客服自动回复语_千牛客服自动回复话术
- 认识Excel的第五天(打印时固定标题)
- STM32F103C8T6————GPIO工作模式及其部分函数