Sign in to follow this  
vicer

Wxwidget

Recommended Posts

i am using VS2005 and i tried to run the "Hello World" by Robert Roebling given in tutorials.I am using wxMSW-2.8.7 setup. when i tried to compile i got the error "c:\wxwidgets-2.8.7\include\wx\platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory" I tried to copy setup.h from include folder and pasted in lib folder but it was of no use. Can any one suggest step by step procedure to solve this error

Share this post


Link to post
Share on other sites
As I remember, setup.h is an extra platform specific header which is not in the normal include directory. It's somewhere in the wx build output directory as I remember so all you need to do is add that directory to your include directories.

Share this post


Link to post
Share on other sites
Quote:
Original post by vicer
i am using VS2005 and i tried to run the "Hello World" by Robert Roebling given in tutorials.I am using wxMSW-2.8.7 setup.

when i tried to compile i got the error
"c:\wxwidgets-2.8.7\include\wx\platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory"

I tried to copy setup.h from include folder and pasted in lib folder but it was of no use.

Can any one suggest step by step procedure to solve this error


After including the setup.h from the \wxWidgets-2.8.7\include\wx\msw i am getting the same error.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this