当前位置:网站首页>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)
解决办法是在工程属性中选择平台工具集,如下图:
工程属性中选择平台工具集,如下图:
边栏推荐
- 【视频】马尔可夫链原理可视化解释与R语言区制转换MRS实例|数据分享
- Learn basic K-line diagram knowledge in three minutes
- Software No.1
- Three core problems of concurrent programming
- 5g/4g pole gateway_ Smart pole gateway
- Matlab uses audioread and sound to read and play WAV files
- PR second training
- Niuke - Huawei question bank (51~60)
- What are the necessary things for students to start school? Ranking list of Bluetooth headsets with good sound quality
- Pyldavis installation and use | attributeerror: module 'pyldavis' has no attribute' gensim '| visual results are exported as separate web pages
猜你喜欢
Number of palindromes in C language (leetcode)
【视频】马尔可夫链原理可视化解释与R语言区制转换MRS实例|数据分享
Matlab uses audiorecorder and recordblocking to record sound, play to play sound, and audiobook to save sound
golang---锁
Selection of field types for creating tables in MySQL database
6-2 vulnerability exploitation - inevitable problems of FTP
【LeetCode 43】236. The nearest common ancestor of binary tree
遷移雲計算工作負載的四個基本策略
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
Cross domain? Homology? Understand what is cross domain at once
随机推荐
剑指 Offer II 031. 最近最少使用缓存
What is AQS and its principle
Logging only errors to the console Set system property ‘log4j2. debug‘ to sh
1217 supermarket coin processor
Have you stepped on the nine common pits in the e-commerce system?
SQLite 3 of embedded database
JMeter (I) - download, installation and plug-in management
What style of Bluetooth headset is easy to use? High quality Bluetooth headset ranking
Private project practice sharing [Yugong series] February 2022 U3D full stack class 009 unity object creation
Develop those things: how to use go singleton mode to ensure the security of high concurrency of streaming media?
leetcode2305. 公平分发饼干(中等,周赛,状压dp)
正则表达式学习笔记
Exception handling of class C in yyds dry goods inventory
1218 square or round
Memorabilia of domestic database in June 2022
Matlab uses audioread and sound to read and play WAV files
MySQL约束与多表查询实例分析
Ks006 student achievement management system based on SSM
Construction and maintenance of business websites [14]
开发那些事儿:如何利用Go单例模式保障流媒体高并发的安全性?