当前位置:网站首页>OpenCASCADE7.6编译
OpenCASCADE7.6编译
2022-07-02 01:55:00 【clever101】
作者:朱金灿
来源:clever101的专栏
通过CMake生成VS工程文件
从官网上下载OpenCASCADE7.6安装包进行安装,安装完成后使用CMake打开源码目录。首先去掉不必要的编译选项(把VTK选项不选中),如下图:
需要增加的第三方库,如下图:
编译MFC示例工程
打开OpenCASCADE-7.6.0-vc14-64\opencascade-7.6.0\samples\mfc\standard\All-vc14.sln编译mfc示例工程,出现错误:
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018: “VCMessage”任务意外失败。
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018: System.FormatException: 索引(从零开始)必须大于或等于零,且小于参数列表的大小。
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB4018: 在 System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
解决办法是在工程属性中选择平台工具集,如下图:
工程属性中选择平台工具集,如下图:
边栏推荐
- MPLS experiment operation
- Data analysis on the disaster of Titanic
- SQLite 3 of embedded database
- JMeter (I) - download, installation and plug-in management
- Redis有序集合如何使用
- Three core problems of concurrent programming
- Convolutional neural network (including code and corresponding diagram)
- Six lessons to be learned for the successful implementation of edge coding
- 【视频】马尔可夫链原理可视化解释与R语言区制转换MRS实例|数据分享
- This is the report that leaders like! Learn dynamic visual charts, promotion and salary increase are indispensable
猜你喜欢

leetcode2312. 卖木头块(困难,周赛)

Convolutional neural network (including code and corresponding diagram)

The concept, function, characteristics, creation and deletion of MySQL constraints

如何远程、在线调试app?

基于SSM实现微博系统

Architecture evolution from MVC to DDD
![[question] - why is optical flow not good for static scenes](/img/8d/2cf6f582bc58cc2985f50e3f85f334.jpg)
[question] - why is optical flow not good for static scenes

matlab 实现语音信号重采样和归一化,并播放比对效果

Discussion on the idea of platform construction

Feature extraction and detection 16 brisk feature detection and matching
随机推荐
1218 square or round
How can the tsingsee Qingxi platform play multiple videos at the same time on the same node?
SAP ui5 beginner tutorial 20 - explanation of expression binding usage of SAP ui5
遷移雲計算工作負載的四個基本策略
[Floyd] post disaster reconstruction
JMeter (II) - install the custom thread groups plug-in
With the innovation and upgrading of development tools, Kunpeng promotes the "bamboo forest" growth of the computing industry
leetcode2305. Fair distribution of biscuits (medium, weekly, shaped pressure DP)
剑指 Offer II 031. 最近最少使用缓存
MySQL主从延迟问题怎么解决
MySQL中一条SQL是怎么执行的
三分钟学会基础k线图知识
Three core problems of concurrent programming
【视频】马尔可夫链蒙特卡罗方法MCMC原理与R语言实现|数据分享
This is the form of the K-line diagram (pithy formula)
Develop those things: how to use go singleton mode to ensure the security of high concurrency of streaming media?
"C language programming", 4th Edition, edited by he Qinming and Yan Hui, after class exercise answers Chapter 3 branch structure
迁移云计算工作负载的四个基本策略
Selection of field types for creating tables in MySQL database
Bat Android Engineer interview process analysis + restore the most authentic and complete first-line company interview questions
