当前位置:网站首页>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)
解决办法是在工程属性中选择平台工具集,如下图:
工程属性中选择平台工具集,如下图:
边栏推荐
- Basic concepts of machine learning
- leetcode2305. Fair distribution of biscuits (medium, weekly, shaped pressure DP)
- 1218 square or round
- What are the skills of spot gold analysis?
- 遊戲思考15:全區全服和分區分服的思考
- Quatre stratégies de base pour migrer la charge de travail de l'informatique en nuage
- Should enterprises choose server free computing?
- Construction and maintenance of business websites [10]
- 1217 supermarket coin processor
- The concepts and differences between MySQL stored procedures and stored functions, as well as how to create them, the role of delimiter, the viewing, modification, deletion of stored procedures and fu
猜你喜欢
剑指 Offer 62. 圆圈中最后剩下的数字
Software No.1
如何用一款产品推动「品牌的惊险一跃」?
The concept, function, characteristics, creation and deletion of MySQL constraints
k线图形态这样记(口诀篇)
leetcode373. 查找和最小的 K 对数字(中等)
SQLite 3 of embedded database
Penser au jeu 15: penser au service complet et au sous - service
Implementation of Weibo system based on SSM
With the innovation and upgrading of development tools, Kunpeng promotes the "bamboo forest" growth of the computing industry
随机推荐
开发那些事儿:如何利用Go单例模式保障流媒体高并发的安全性?
MySQL约束与多表查询实例分析
The technology boss is ready, and the topic of position C is up to you
MySQL主从延迟问题怎么解决
遷移雲計算工作負載的四個基本策略
Experimental reproduction of variable image compression with a scale hyperprior
The role of artificial intelligence in network security
leetcode373. 查找和最小的 K 对数字(中等)
What are the skills of spot gold analysis?
Using mongodb in laravel
6-2 vulnerability exploitation - inevitable problems of FTP
Opengauss database backup and recovery guide
Construction and maintenance of business websites [15]
正则表达式学习笔记
自动浏览拼多多商品
The difference between new and malloc
Golang lock
如何远程、在线调试app?
JMeter (II) - install the custom thread groups plug-in
PR second training