cmake编译LASzip和LAStools

直接从github上下载的文件不能直接使用,需要编译才可直接用于Visual studio中进行配置。后续会详细补充每一句指令的作用。

目录

cmake编译LASzip

cmake编译LAStools


cmake编译LASzip

使用Git bash指令进行编译及配置

bash 复制代码
 git clone https://github.com/LASzip/LASzip.git

执行失败了,因此直接下载laszip到文件中,随后解压进行后续的编译

bash 复制代码
cd LASzip-master/

mkdir build

cd build

cmake .. -DCMAKE_INSTALL_PREFIX="D:\LIDAR\LASzip"

cmake --build . --config Release

cmake --install .

cmake编译LAStools

bash 复制代码
cd LAStools-master/

mkdir build

cd build

cmake .. -G "Visual Studio 16 2019"

cmake .. -G "MinGW Makefiles"

cmake --build . --config Release

cmake --install .
相关推荐
baopixiaoz8 分钟前
AI量化策略师|Web3 量化交易研究员
大数据·人工智能·python·区块链
大模型码小白18 分钟前
思维树提示:让AI探索多条推理路径
人工智能
程序员cxuan25 分钟前
本地跑一个 Qwen 3.8,你将拥有一个 Opus 4.6
人工智能·后端·程序员
aidesignplus29 分钟前
Anthropic 最新发布《2026 Agentic Coding Trends Report》粗浅解析
人工智能
能源革命31 分钟前
AI日报 2026-08-15
人工智能
Uncommon.41 分钟前
使用Pytorch自动计算梯度
人工智能·pytorch·python
安逸sgr1 小时前
循环神经网络 RNN、LSTM、GRU 是什么?为什么能处理序列?
人工智能·ai·大模型·agent·智能体
猿小猴子1 小时前
主流 AGENT 实战教程「OpenCodex」与「ChatGPT Work」与「Codex Record & Replay」介绍
人工智能·ai·chatgpt·codex·minimax·deepseek·opencodex
shdwak....sad1 小时前
版本管理&迁移kali-vmware&知识库
人工智能·网络安全
程序员cxuan1 小时前
OpenAI Linux 版来了!
人工智能·后端·程序员