Discussion:
Compile Error
Abhishek Batra
2014-02-20 17:12:32 UTC
Permalink
Hey
I tried a simple hello world program. When i am trying to compile using g++
compiler i get this error

/home/abhishek/wxWidgets-master/include/wx/platform.h:189:22: fatal error:
wx/setup.h: No such file or directory
compilation terminated.

I am using Ubuntu 12.04

Any help would be appreciated.

Thanks
Regards,
Abhishek Batra
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Igor Korot
2014-02-20 17:29:50 UTC
Permalink
Hi,
Post by Abhishek Batra
Hey
I tried a simple hello world program. When i am trying to compile using
g++ compiler i get this error
wx/setup.h: No such file or directory
compilation terminated.
I am using Ubuntu 12.04
Any help would be appreciated.
Did you read documentation?

Thank you.
Post by Abhishek Batra
Thanks
Regards,
Abhishek Batra
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
or visit http://groups.google.com/group/wx-users
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Vadim Zeitlin
2014-02-20 18:00:25 UTC
Permalink
On Thu, 20 Feb 2014 09:12:32 -0800 (PST) Abhishek Batra wrote:

AB> I tried a simple hello world program. When i am trying to compile using g++
AB> compiler i get this error
AB>
AB> /home/abhishek/wxWidgets-master/include/wx/platform.h:189:22: fatal error:
AB> wx/setup.h: No such file or directory
AB> compilation terminated.

You compile it with wrong flags or, rather, without the right ones. Read
about wx-config at http://wiki.wxwidgets.org/Wx-Config

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Loading...