Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 75877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:35:06+00:00 2026-05-10T20:35:06+00:00

A quick Google search of this issue shows it’s common, I just can’t for

  • 0

A quick Google search of this issue shows it’s common, I just can’t for the life of me figure out the solution in my case.

I have a straight forward install of wxWidgets 2.8.8 for Windows straight from the wxWidgets website.

Whenever I try to compile anything (such as the sample app described in ‘First Programs for wxWidgets’ – http://zetcode.com/tutorials/wxwidgetstutorial/firstprograms/ ) I get:

wx/setup.h: No such file or directory

I’ve included both C:\wxWidgets-2.8.8\include and C:\wxWidgets-2.8.8\include\wx in my compiler search list.

It should be simple – but it’s not! 🙁

The same thing happens if I try to use an IDE integrated with wxWidgets (such as Code::Blocks) – and this, I would have thought, would have just worked out the box…

So, some help please… Why is setup.h not found?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:35:07+00:00Added an answer on May 10, 2026 at 8:35 pm

    wxWidgets is not built into useable libraries when you ‘install’ the wxMSW installer. This is because there are so many configurable elements, which is precisely what the setup.h you refer to is for.

    If you just want to build it with default options as quickly as possible and move on, here is how:

    1. Start the ‘Visual Studio Command Prompt.’ You’ll find this in the start menu under ‘Microsoft Visual Studio -> Visual Studio Tools’.

    2. Change to folder: [WXWIN root]\build\msw

    3. Build default debug configuration: nmake -f makefile.vc BUILD=debug

    4. Build default release configuration: nmake -f makefile.vc BUILD=release

    5. Make sure the DLLs are in your PATH. They’ll be found in [WXWIN root]\lib\vc_dll

    6. Under the DLL folder mentioned above, you will find subfolders for each build variant (The instructions above made two, debug and release.) In each variant folder you’ll find a ‘wx’ folder containing a ‘setup.h’ file. You’ll see that the setup.h files are actually different for each build variant. These are the folders you need to add to your project build configuration include path, one per build variant. So, for example, you’d add [WXWIN root]\lib\vc_dll\mswud to the include path for your debug build, [WXWIN root]\lib\vc_dll\mswu for your release build.

    7. It is possible to build lots of other variant combinations: static libs, monolithic single library, non-Unicode, etc. See [WXWIN root]\docs\msw\install.txt for much more extensive instructions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A quick Google search hasn't yielded any answers to this: Are there any factors
What is the most mature .NET MPI implementation? A quick google search turned up
I ran a quick google and SO search and found similar questions but none
I'm looking for a boo syntax sheet/reference card. A quick search on google and
Quick google search revealed that The rollback journal is always located in the same
I saw a few libraries through a quick Google search. What's generally the most
I found several JavaScript testing frameworks with a quick Google search: Jasmine , jsUnity
While I search this one out on my own, may be some one could
From a quick Google search and a the wikipedia article on Multiple Inheritance, which
After a quick Google I couldn’t find anything too promising so I was wondering

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.