How to build wxWidgets projects with Visual Studio Code on Linux?

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
var_null
Earned a small fee
Earned a small fee
Posts: 14
Joined: Thu Feb 27, 2020 6:44 pm

How to build wxWidgets projects with Visual Studio Code on Linux?

Post by var_null »

How to build wxWidgets projects with Visual Studio Code on Linux?

I already installed wxWidgets following these instructions: https://wiki.codelite.org/pmwiki.php/Ma ... aries#toc2

I can see wxWidgets files are here: /usr/include/wx-3.1-unofficial/wx (for example, app.h)

I can compile wxWidgets proyects on other IDEs, however Visual Studio Code gives me the following error:

/CProjects/MedCen_Plus/main.cpp:1:10: fatal error: 'wx/app.h' file not found

How to fix this?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: How to build wxWidgets projects with Visual Studio Code on Linux?

Post by ONEEYEMAN »

Hi,
What parameters did you give to that IDE?
Namely, how did you set the "Include" and "Lib" paths?

Thank you.
Post Reply