Page 1 of 1

From macOs to Windows

Posted: Mon Sep 28, 2020 1:27 pm
by mybofy
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

Re: From macOs to Windows

Posted: Mon Sep 28, 2020 1:39 pm
by PB
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: