Page 1 of 1
wx/setup.h
Posted: Wed Mar 05, 2008 8:33 am
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
Re: wx/setup.h
Posted: Thu Mar 06, 2008 4:37 am
by vicer
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!!!!!!!!!!!!!!!!!!
Re: wx/setup.h
Posted: Thu Mar 06, 2008 7:09 am
by tan
Hi,
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!!!!!!!!!!!!!!!!!!
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.
What way did you build wx libs? What project do use for building the sample?
Re: wx/setup.h
Posted: Thu Mar 06, 2008 7:19 am
by vicer
tan wrote:Hi,
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!!!!!!!!!!!!!!!!!!
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.
What way did you build wx libs? What project do use for building the sample?
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.
And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
Re: wx/setup.h
Posted: Thu Mar 06, 2008 8:39 am
by tan
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.
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:
And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
Sorry, i can't. We can discuss it here though
Re: wx/setup.h
Posted: Thu Mar 06, 2008 8:56 am
by vicer
tan wrote: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.
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:
And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
Sorry, i can't. We can discuss it here though
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
Posted: Sat Mar 08, 2008 5:20 pm
by vicer
vicer wrote:tan wrote: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.
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:
And how to build the wx libs?
I have a request can we discuss this matter in msn messenger.
Sorry, i can't. We can discuss it here though
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?...
after trying the above method i am getting the error " too many included files"