Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i compile the c++ file which include windows.h in ubuntu ????
Posted

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.
 
Share this answer
 
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900