GL/glui.h无法找到。 尝试安装libglui-dev,发现已经不支持了。 那么怎么办? 老版本程序需要跑起来? 源码编译吧。 GLUI 是一个基于 GLUT 的 C++ 用户界面库,它为 OpenGL 应用程序提供按钮、复选框、单选按钮和微调器等控件。它独立于窗口系统,使用 GLUT 或 FreeGLUT。 $ sudo make install [ 64%] Built target glui_obj [ 66%] Built target glui [ 68%] Built target glui_static -- Installing: /usr/local/lib/cmake/glui/gluiConfig.cmake -- Installing: /usr/local/lib/cmake/glui /usr/local/lib/cmake/glui/gluiTargets-noconfig.cmake ---- glui提供了一些案例供学习: zhangrelay@LAPTOP-5REQ7K1L
出现错误: missing: GLUI_INCLUDE_DIR GLUI_LIBRARY tzloop@tzloop-GE62-6QC:~/Desktop/rmmartins-cubu-ee034cafdaa2 (missing: GLUI_INCLUDE_DIR GLUI_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-3.10 下载版本为glui-2.35,这里是下载链接 ? 之后,出现找不到glui.h ? 拷贝libglui.a和glui.h到usr相应目录,之后再运行仍然又重复undeclared错误。 在mac可能是GLUI/glui但在ubuntu是GL/glui),最后就到达这个错误了。。
signed. 2022-07-28T18:10:56.541878Z 1 [Note] A temporary password is generated for root@localhost: glUI5k %_eY0) [root@localhost ~]# echo 'glUI5k%_eY0)' > 3306_passwd #初始化3307实例 [root@localhost ~]# mysqld *:3308 *:* 2.8 初始化各实例密码 #3306初始密码 [root@localhost ~]# cat 3306_passwd glUI5k %_eY0) [root@localhost ~]# mysql -p'glUI5k%_eY0)' -S /tmp/mysql3306.sock mysql: [Warning] Using a password
使用 openGL、glut 和 glui 库构建。 Glui 实现了一个非常简单和强大的 GUI,允许用户控制球的不同属性。
$ sudo apt install vim $ sudo apt install cmake 5.2 rebuild project $ cd ProjectionExplain/LIBRARY/glui-master