当前位置:网站首页>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)
解决办法是在工程属性中选择平台工具集,如下图:
工程属性中选择平台工具集,如下图:
边栏推荐
- Deep learning: a solution to over fitting in deep neural networks
- MySQL view concept, create view, view, modify view, delete view
- new和malloc的区别
- MySQL中一条SQL是怎么执行的
- leetcode2309. 兼具大小写的最好英文字母(简单,周赛)
- Logging only errors to the console Set system property ‘log4j2. debug‘ to sh
- Should enterprises choose server free computing?
- [Video] Markov chain Monte Carlo method MCMC principle and R language implementation | data sharing
- 剑指 Offer 42. 连续子数组的最大和
- VARIATIONAL IMAGE COMPRESSION WITH A SCALE HYPERPRIOR文献实验复现
猜你喜欢

leetcode2310. The one digit number is the sum of integers of K (medium, weekly)

leetcode2305. 公平分发饼干(中等,周赛,状压dp)

Game thinking 15: thinking about the whole region and sub region Services

TSINGSEE青犀平台如何实现同一节点同时播放多个视频?

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

Quatre stratégies de base pour migrer la charge de travail de l'informatique en nuage

Have you stepped on the nine common pits in the e-commerce system?

leetcode2309. 兼具大小写的最好英文字母(简单,周赛)

The technology boss is ready, and the topic of position C is up to you

Six lessons to be learned for the successful implementation of edge coding
随机推荐
Word search applet design report based on cloud development +ppt+ project source code + demonstration video
Android: how can golden nine and silver ten squeeze into the first-line big factories from small and medium-sized enterprises? The depth of interview questions in large factories
How can the tsingsee Qingxi platform play multiple videos at the same time on the same node?
Regular expression learning notes
321. Chessboard segmentation (2D interval DP)
"C language programming", 4th Edition, edited by he Qinming and Yan Hui, after class exercise answers Chapter 3 branch structure Exercise 3
Post infiltration flow encryption
大学的知识是否学而无用、过时?
mysql列转行函数指的是什么
剑指 Offer 29. 顺时针打印矩阵
Construction and maintenance of business websites [12]
Private project practice sharing [Yugong series] February 2022 U3D full stack class 009 unity object creation
剑指 Offer 62. 圆圈中最后剩下的数字
There are spaces in the for loop variable in the shell -- IFS variable
leetcode2310. The one digit number is the sum of integers of K (medium, weekly)
开发那些事儿:如何利用Go单例模式保障流媒体高并发的安全性?
D discard the virtual recovery method
Ubuntu20.04 PostgreSQL 14 installation configuration record
From January 11, 2007 to January 11, 2022, I have been in SAP Chengdu Research Institute for 15 years
matlab 使用 resample 完成重采样
