Visual Studio 2017 C ++与Windows 10 linux子系统问题 [英] Visual Studio 2017 C++ with Windows 10 linux subsystem problem

查看:360
本文介绍了Visual Studio 2017 C ++与Windows 10 linux子系统问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!我尝试使用openssl库在Windows 10上使用linux子系统编译c ++ linux程序,但是当我尝试编译时我得到错误:


错误(活动)  E1696 无法打开源文件" openssl / aes.h"


我在默认目录下安装了openssl库,包含路径是/ usr / include / openssl。我尝试添加-I开关但仍然有此错误。我怎么能解决这个问题?谢谢你的回答。


解决方案

试试这个包含路径:" / usr / include"。

Hello! I try compile c++ linux program using linux subsystem on windows 10 with openssl library, but qwhen i try compile i get error:

Error (active) E1696 cannot open source file "openssl/aes.h"

I have installed openssl library in default directory, include path is /usr/include/openssl. Il try add -I switch but still have this error. How can Il fix this ? Thank You for answer.

解决方案

Try this include path: "/usr/include".


这篇关于Visual Studio 2017 C ++与Windows 10 linux子系统问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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