如何编译安装LibreDWG?

Debian-Like

1 前言

一个问题,一篇文章,一出故事。
由于freeCAD需要依赖LibreDWG转换数据格式,于是整理此章节。

2 最佳实践

2.1 安装前的准备

2.1.1 安装git

apt install -y git

2.1.2 复制源代码

git clone --recurse-submodules https://github.com/LibreDWG/libredwg.git

2.2 编译安装软件把

2.2.1 预编译软件包

cd libredwg 
mkdir build cd build 
cmake .. 

2.2.2 编译并安装软件包

make 
make install

2.2.3 重新扫描库文件

ldconfig -v

2.2.4 测试转换

dwg2dxf infile.dwg -o outfile.dxf

参阅文档
=======================
https://wiki.freecad.org/FreeCAD_and_DWG_Import#Installation_Linux/Unix_systems

没有评论

发表回复

Debian-Like
如何安装Ubuntu Linphone?

1 基础知识 1.1 软件介绍 Linphone 是一款开源的 VoIP(Voice over In …

Debian-Like
如何安装配置Ubuntu iptables-persistent

1 前言 一个问题,一篇文章,一出故事。 笔者今天需要在Ubuntu使用iptables,于是整理当 …

Debian-Like
如何安装Ubuntu steam?

1 基础知识 Steam是Valve公司聘请BitTorrent(BT下载)发明者布拉姆·科恩(Br …