Ubuntu中的Windows.h [英] windows.h in ubuntu

查看:1243
本文介绍了Ubuntu中的Windows.h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我该如何在ubuntu中编译包含Windows.h的c ++文件????

How can i compile the c++ file which include windows.h in ubuntu ????

推荐答案

我不认为可以. windows.h是一个头文件,其中包含特定于Windows平台但在Linux中不存在的定义.您需要更改代码,使其使用Linux功能.
I don''t think you can. windows.h is a header file that contains definitions that are specific to the Windows platform but do not exist in Linux. You need to change your code so that it uses Linux features.


您好,
您可以使用 WineHQ [ ^ ]和 WineLib库 [
Hi,
You can use WineHQ[^] and the WineLib library[^] to run and develop Windows applications on (Intel processor powered) machines running Unbutu or other Linuxes.
cheers,
AR


这篇关于Ubuntu中的Windows.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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