wx/setup.h

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.

wx/setup.h

Postby vicer » Wed Mar 05, 2008 8:33 am

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 :-) :D
vicer
In need of some credit
In need of some credit
 
Posts: 9
Joined: Wed Mar 05, 2008 8:26 am

Re: wx/setup.h

Postby vicer » Thu Mar 06, 2008 4:37 am

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 :-) :D



Nobody knows the solution for it!!!!!!!!!!!!!!!!!!
vicer
In need of some credit
In need of some credit
 
Posts: 9
Joined: Wed Mar 05, 2008 8:26 am

Re: wx/setup.h

Postby tan » Thu Mar 06, 2008 7:09 am

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 :-) :D



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?
OS: Windows XP Pro
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
tan
Moderator
Moderator
 
Posts: 1471
Joined: Tue Nov 14, 2006 7:58 am
Location: Saint-Petersburg, Russia

Re: wx/setup.h

Postby vicer » Thu Mar 06, 2008 7:19 am

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 :-) :D



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.
vicer
In need of some credit
In need of some credit
 
Posts: 9
Joined: Wed Mar 05, 2008 8:26 am

Re: wx/setup.h

Postby tan » Thu Mar 06, 2008 8:39 am

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 :)
OS: Windows XP Pro
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10
tan
Moderator
Moderator
 
Posts: 1471
Joined: Tue Nov 14, 2006 7:58 am
Location: Saint-Petersburg, Russia

Re: wx/setup.h

Postby vicer » Thu Mar 06, 2008 8:56 am

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?...
vicer
In need of some credit
In need of some credit
 
Posts: 9
Joined: Wed Mar 05, 2008 8:26 am

Re: wx/setup.h

Postby vicer » Sat Mar 08, 2008 5:20 pm

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"
vicer
In need of some credit
In need of some credit
 
Posts: 9
Joined: Wed Mar 05, 2008 8:26 am


Return to Compiler / Linking / IDE Related

Who is online

Users browsing this forum: No registered users and 8 guests