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
wx/setup.h
Re: wx/setup.h
vicer wrote: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
Nobody knows the solution for it!!!!!!!!!!!!!!!!!!
-
- wxWorld Domination!
- Posts: 1471
- Joined: Tue Nov 14, 2006 7:58 am
- Location: Saint-Petersburg, Russia
Re: wx/setup.h
Hi,
What way did you build wx libs? What project do use for building the sample?
you have to set include path to c:/wxwidgets-2.8.7/lib_{dll|lib}/{msw|mswd|mswud} in your project. What exactly is lib_dll/lib and etc depends on your build: shared/static linking, debug/release, unicode/ansi.vicer wrote:vicer wrote: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
Nobody knows the solution for it!!!!!!!!!!!!!!!!!!
What way did you build wx libs? What project do use for building the sample?
OS: Windows XP Pro
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
Re: wx/setup.h
thanks tan for ur reply!tan wrote:Hi,you have to set include path to c:/wxwidgets-2.8.7/lib_{dll|lib}/{msw|mswd|mswud} in your project. What exactly is lib_dll/lib and etc depends on your build: shared/static linking, debug/release, unicode/ansi.vicer wrote:vicer wrote: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
Nobody knows the solution for it!!!!!!!!!!!!!!!!!!
What way did you build wx libs? What project do use for building the sample?
I used win32 application as project not console.I include
the setup.h in "C:\wxWidgets-2.8.7\lib\mswd\wx".
then also i got the same problem.
And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
-
- wxWorld Domination!
- Posts: 1471
- Joined: Tue Nov 14, 2006 7:58 am
- Location: Saint-Petersburg, Russia
Re: wx/setup.h
i guess you have to set "C:\wxWidgets-2.8.7\lib\vc_lib\mswd" (sorry, in the previous post i was wrong, actually it must be: c:/wxwidgets-2.8.7/lib/vc_{dll|lib}/{msw|mswd|mswud}vicer wrote: thanks tan for ur reply!
I used win32 application as project not console.I include
the setup.h in "C:\wxWidgets-2.8.7\lib\mswd\wx".
then also i got the same problem.
Sorry, i can't. We can discuss it here thoughvicer wrote: And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
OS: Windows XP Pro
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
Re: wx/setup.h
tan wrote:i guess you have to set "C:\wxWidgets-2.8.7\lib\vc_lib\mswd" (sorry, in the previous post i was wrong, actually it must be: c:/wxwidgets-2.8.7/lib/vc_{dll|lib}/{msw|mswd|mswud}vicer wrote: thanks tan for ur reply!
I used win32 application as project not console.I include
the setup.h in "C:\wxWidgets-2.8.7\lib\mswd\wx".
then also i got the same problem.Sorry, i can't. We can discuss it here thoughvicer wrote: And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
But where i have to put this link
c:/wxwidgets-2.8.7/lib/vc_{dll|lib}/{msw|mswd|mswud}
where in VS project properties... and can u tell what r the contents of the (msw|mswd|mswud) folder is it setup.h?...
Re: wx/setup.h
after trying the above method i am getting the error " too many included files"vicer wrote:tan wrote:i guess you have to set "C:\wxWidgets-2.8.7\lib\vc_lib\mswd" (sorry, in the previous post i was wrong, actually it must be: c:/wxwidgets-2.8.7/lib/vc_{dll|lib}/{msw|mswd|mswud}vicer wrote: thanks tan for ur reply!
I used win32 application as project not console.I include
the setup.h in "C:\wxWidgets-2.8.7\lib\mswd\wx".
then also i got the same problem.Sorry, i can't. We can discuss it here thoughvicer wrote: And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
But where i have to put this link
c:/wxwidgets-2.8.7/lib/vc_{dll|lib}/{msw|mswd|mswud}
where in VS project properties... and can u tell what r the contents of the (msw|mswd|mswud) folder is it setup.h?...