Page 1 of 1

From macOs to Windows

Posted: Mon Sep 28, 2020 1:27 pm
by mybofy
Bonjour
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
https://docs.wxwidgets.org/trunk/plat_m ... build_apps

I have posted MSVC specific info here
viewtopic.php?f=19&t=46700#p196105
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:
https://docs.wxwidgets.org/trunk/plat_msw_binaries.html