From macOs to Windows

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Knows some wx things
Knows some wx things
Posts: 37
Joined: Fri Aug 07, 2015 2:09 pm

From macOs to Windows

Post by mybofy » Mon Sep 28, 2020 1:27 pm

Very new in Windows, I would create on Windows my application wich works wery well on macOS.
My first problem is :
#include <wx/wx.h>
fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory

How to write this or how to include the headers of wxWidgets in visual studio and insert them ?

What is the equivalent of frameworks in xcode ?

Merci de l'aide

Part Of The Furniture
Part Of The Furniture
Posts: 2782
Joined: Sun Jan 03, 2010 5:45 pm

Re: From macOs to Windows

Post by PB » Mon Sep 28, 2020 1:39 pm

The official documentation is here ... build_apps

I have posted MSVC specific info here
where generally the only thing missing is that you need to set SubSystem to "Windows" in Linker/System project properties.

Obviously, the above assumes you have wxWidgets build available in the desired configurations.

If you did not build wxWidgets by yourself but downloaded the official binaries, you may also need to read this:

Post Reply