Hi,
i am in Linux Mint and trying the first C++ wxWidgets 3.0 program and Use Andvanced Options and Unicode Build of wxWidgets gives fatal error: wx/app.h: no sutch file or folder.
As i see at Build options, Compiler settings are `wx-config --version=3.0 --static=yes --unicode=yes --debug=yes --cflags` and Linker settings are `wx-config --version=3.0 --static=yes --unicode=yes --debug=yes --libs.
What i must do to build and run?
The execute file, is whith this way solid and standalone?
Thanks
Jim
When on the command line what does the below command return?
wx-config --version=3.0 --static=yes --unicode=yes --debug=yes --cflags
Also, what does this command return?
wx-config --list
Tim S.
a@a-desktop ~ $ wx-config --version=3.0 --static=yes --unicode=yes --debug=yes --cflags
Warning: No config found to match: /usr/local/bin/wx-config --version=3.0 --static=yes --unicode=yes --debug=yes --cflags
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
a@a-desktop ~ $
and
a@a-desktop ~ $ wx-config --list
Default config is gtk2-unicode-static-3.1
Default config will be used for output
Alternate matches:
gtk2-unicode-3.1
a@a-desktop ~ $
So, you now know the problem.
Tim S.
I am a beginer, so i hope that i will find it out.
Thank you very mutch.
Jim.
Quote from: dkaip on December 13, 2016, 07:58:59 PM
I am a beginer, so i hope that i will find it out.
Thank you very mutch.
Jim.
You CAN NOT use an library that is NOT [installed] on your PC!
Either use the version of the library installed on your PC or install the
software library version you are trying to use!
Tim S.
Change:
Quote from: dkaip on December 13, 2016, 07:35:57 PM
$ wx-config --version=3.0 --static=yes --unicode=yes --debug=yes --cflags
to
Quote from: dkaip on December 13, 2016, 07:35:57 PM
$ wx-config --cflags
And it will work fine.
Then do the same thing for the linker command.
If you need these option you'll have to build other versions of wx, but this is out of the scope of the forum.