Skip to main content
gamedev.net
🔒 Locked

Wxwidget

Started by vicer 1 reply 2.3k views
Original Post
vicer
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
BigJim
BigJim
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.
vicer
vicer
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.