当前位置:网站首页>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)
解决办法是在工程属性中选择平台工具集,如下图:
工程属性中选择平台工具集,如下图:
边栏推荐
- Construction and maintenance of business websites [13]
- Android high frequency network interview topic must know and be able to compare Android development environment
- Six lessons to be learned for the successful implementation of edge coding
- Data analysis on the disaster of Titanic
- What are the skills of spot gold analysis?
- New news, Wuhan Yangluo international port, filled with black technology, refreshes your understanding of the port
- Number of palindromes in C language (leetcode)
- JMeter (I) - download, installation and plug-in management
- Private project practice sharing [Yugong series] February 2022 U3D full stack class 009 unity object creation
- np.where 和 torch.where 用法
猜你喜欢

Six lessons to be learned for the successful implementation of edge coding

leetcode2311. 小于等于 K 的最长二进制子序列(中等,周赛)

How to debug apps remotely and online?

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

MATLAB realizes voice signal resampling and normalization, and plays the comparison effect

Volume compression, decompression

What are the skills of spot gold analysis?

matlab 使用 audiorecorder、recordblocking录制声音,play 播放声音,audiowrite 保存声音

k线图形态这样记(口诀篇)

Develop those things: how to use go singleton mode to ensure the security of high concurrency of streaming media?
随机推荐
matlab 使用 audioread 、 sound 读取和播放 wav 文件
How can the tsingsee Qingxi platform play multiple videos at the same time on the same node?
* and & symbols in C language
The smart Park "ZhongGuanCun No.1" subverts your understanding of the park
[Video] Markov chain Monte Carlo method MCMC principle and R language implementation | data sharing
剑指 Offer 29. 顺时针打印矩阵
Have you stepped on the nine common pits in the e-commerce system?
Raspberry pie 4B learning notes - IO communication (1-wire)
Introduction to ffmpeg Lib
"C language programming", 4th Edition, edited by he Qinming and Yan Hui, after class exercise answers Chapter 3 branch structure Exercise 3
【C#】使用正则校验内容
JMeter (II) - install the custom thread groups plug-in
k线图形态这样记(口诀篇)
Software No.1
matlab 使用 resample 完成重采样
Architecture evolution from MVC to DDD
Redis环境搭建和使用的方法
Bat Android Engineer interview process analysis + restore the most authentic and complete first-line company interview questions
Exception handling of class C in yyds dry goods inventory
leetcode373. 查找和最小的 K 对数字(中等)
