从Wolfram Mathematica编译时,C ++的phc.h库无法找到 [英] Where are the phc.h library for C++ Can not find when compiling from Wolfram Mathematica

查看:137
本文介绍了从Wolfram Mathematica编译时,C ++的phc.h库无法找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从VIsual studio学习C ++。我正在网上和图书馆的文本中提供教程。  24小时内的C ++ ..等等..



最近的更新后,我注意到所有的C ++ 控制台应用程序有一个指令#include" phc.h"   困扰我的是这个文件的位置和目的是什么。



我使用Wolfram Mathematica的shell来执行核心。 WM使用Visual Studio 14编译器。  BUt失败,因为它找不到phc.h文件的位置。该文件位于何处,为何不在/ include文件夹中?



解决方案

>在最近的更新之后,我注意到所有C ++控制台应用程序都有一个指令#include" phc.h" 。困扰我的是这个文件的位置和目的是什么。


pch.h将是预编译的头文件

https://docs.microsoft.com/en-gb/cpp/build/reference/creating-precompiled-header-files?view=vs-2017#pch-files-in-the-build-process


Dave



I am learning C++ from VIsual studio .I amfollowing tutorials available online and from text from library.  C++ in 24 hours..etc..

After a recent update, I notice that allthe C++  console applications hace a directive #include "phc.h"  .  What troubles me is where this file is located and what is its purpose.

I am using a shell from Wolfram Mathematica to execute the core. WM uses the Visual Studio 14 compiler.  BUt it fails because it does not find the location of phc.h file. Where is this file located andwhy it is not inside an /include folder ?

解决方案

>After a recent update, I notice that allthe C++  console applications hace a directive #include "phc.h"  .  What troubles me is where this file is located and what is its purpose.

pch.h will be the precompiled header file
https://docs.microsoft.com/en-gb/cpp/build/reference/creating-precompiled-header-files?view=vs-2017#pch-files-in-the-build-process

Dave


这篇关于从Wolfram Mathematica编译时,C ++的phc.h库无法找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆