摘要: 由于新版的ubuntu源不再包含libpng12-0,但是一些老旧软件依然对该库有依赖,主要有两种解决方案: 第一种:添加额外的源(但该方法不保证网络能通,一般会显示无法连接) sudo add-apt-repository ppa:linuxuprising/libpng12 sudo apt u 阅读全文
posted @ 2022-07-01 17:10 禅元天道 阅读(2911) 评论(1) 推荐(1) 编辑
摘要: 问题排查: 1. 确保/opt/Qt5.14.2/5.14.2/gcc_64/plugins/platforminputcontexts/与/opt/Qt5.14.2/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/目录下存在libfcitx 阅读全文
posted @ 2022-04-25 00:13 禅元天道 阅读(1506) 评论(1) 推荐(1) 编辑
摘要: C++中的delete与nullptr 1 #include <iostream> 2 #include <list> 3 #include <string> 4 5 using namespace std; 6 7 8 class Geometry { 9 public: 10 string getName1() 11 { 12 ret 阅读全文
posted @ 2022-03-26 11:21 禅元天道 阅读(443) 评论(0) 推荐(0) 编辑
摘要: Ubuntu环境全自动配置FastCAE运行环境脚本 在工作中发现好多同学对FastCAE在Linux环境下的配置不熟悉,特定将整个过程写成脚本,对FastCAE及其依赖库进行了全自动编译安装。脚本是在Ubuntu18.04.6环境下测试的。需要在redhat系列环境使用的只需要把其中的apt命令改成yum,并把后面的包名改成对应的名字即可。如果有任何 阅读全文
posted @ 2022-02-25 08:42 禅元天道 阅读(110) 评论(0) 推荐(0) 编辑
摘要: ParaViewWeb简介 ParaViewWeb是一个可以应用ParaView提供的各种可视化和数据分析的组件集合。它使用最新的HTML5技术,如WebSockets和WebGL技术。关于ParaViewWeb的更多介绍(包括文档、API)可以访问其网站https://kitware.github 阅读全文
posted @ 2022-01-03 15:33 禅元天道 阅读(973) 评论(0) 推荐(0) 编辑
摘要: 窗口风格(Window style) WS_BORDER 有边框窗口 WS_CAPTION 必须和WS_BORDER风格配合,但不能与WS_DLGFRAME风格一起使用。指示窗口包含标题要部分。 WS_CHILD 说明窗口为子窗口,不能应用于弹出式窗口风格(WS_POPUP)。 WS_CHILDWI 阅读全文
posted @ 2021-11-24 15:29 禅元天道 阅读(1658) 评论(0) 推荐(0) 编辑
摘要: Femap开发 - API调用 1 #include <iostream> 2 #include <objbase.h> 3 #include "Femap.h" 4 #import "femap.tlb" named_guids rename("GetProp","GetFemapProp") 5 6 /** 7 * Femap 阅读全文
posted @ 2021-11-18 09:35 禅元天道 阅读(213) 评论(0) 推荐(0) 编辑
摘要: deb包的管理相关命令 1、下载需要安装的deb包,输入以下命令安装: sudo dpkg -i package.deb 2、查看package.deb包中的内容: dpkg -c package.deb 3、从package.deb包中提取信息: dpkg -I package.deb 4、移除安 阅读全文
posted @ 2021-10-30 15:08 禅元天道 阅读(413) 评论(0) 推荐(0) 编辑
摘要: **文件抬头说明 *Heading ** Job name: Job-1_Terminal Model name: Model-1 ** Generated by: Abaqus/CAE 6.14-4 *Preprint, echo=NO, model=NO, history=NO, contact 阅读全文
posted @ 2021-10-29 10:36 禅元天道 阅读(1032) 评论(0) 推荐(0) 编辑
摘要: 新安装redhat系统无法使用yum命令的解决方案 由于redhat的yum源属于资源,所以不订阅的话是无法正常使用的,可以通过使用centos的yum源来解决。具体方案如下: 1.将以下代码保存为changeyum.sh(可以自行修改内容) 1 #!/bin/bash 2 3 #获取资源,某些资源可能因为版本升级不存在,请自行更新地址(在http: 阅读全文
posted @ 2021-09-30 18:00 禅元天道 阅读(925) 评论(0) 推荐(0) 编辑