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.
I just clone wxWidgets. After configure and make, i can not find the solution of error.
Mint i just new installation, in last sylvia(ver 18.3) version.
Any idea?
Do not cross-post, please (first occurrence here: viewtopic.php?f=30&t=44145). Also, when you have an important part of the message in a non-english language, translate it (it prevents those who want to help you from doing it).
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
As i see there is not such file gtk/gtkunixprint.h.
I think that the last Mint uses only gtk3, so i have write maybe some changes must be done to lib?
This is a thought only. I must install Mint 17.3 in virtual machine to see if i have write.
Thanks
Jim.
*Sorry for language.
This option is not often used under Linux "--enable-monolithic"; you might want to try removing it and deleting the build folder if you have more problems.
But, first decide if you want to build against GTK version 2.x or version 3.x.
I have install gtk2.0 e.t.c.
The option --enable-monolithic i always use in Linux. Until now i had no problem.
Noy i am tryin in configure the option --with-gtk=3 but fault again.
I just built a recent wx git in a Mint 18.3 VirtualBox guest. I installed libgtk2.0-dev and build-essential, plus the opengl dependencies, then used a simplified version of your configure line (much of which was unnecessary):
sudo apt-get install libgtk2.0-dev
libgtk2.0-dev is already the newest version (2.24.30-1ubuntu1.16.04.2)
I am trying to find gtk/gtkunixprint.h file, and i can not find. Now i am trying to mint 18.3 in virtual machine, if my Mint install has something wrong.
C++11 note: If you want to compile wxWidgets in C++11 mode, you currently have
to use -std=gnu++11 switch as -std=c++11 disables some extensions
that wxWidgets relies on. I.e. please use CXXFLAGS="-std=gnu++11".
That information might be outdated but would be worth trying.
I have many times install Mint 18.3 and 18.2 (not in virtual) for study.
When download from git always i have the known problems.
Last time i download wxWid..3.0.1.tar.gz2 and extract.
/usr/bin/ld: /home/a/wxWidgets-3.1.0/gtk-build1/lib/libwx_gtk2u-3.1.a(monolib_xml.o)||undefined reference to symbol 'XML_SetUserData'|
I wiil try without monolithic later for test.
Always for all wxWd* dir fron tar or git with make -j, building terminate progressing and shutdown system.
I am trying all that things and i will upload results.
Thank's
Jim
Always for all wxWd* dir fron tar or git with make -j, building terminate progressing and shutdown system.
I often get that too, mostly in VirtualBox guests, with make -j. Or sometimes compiling is very slow, or gcc aborts complaining of lack of space on the device. It happens because of running out of memory in /tmp (which gcc uses during builds and which nowadays is usually mounted as tmpfs) and/or running out of swap space.
One fix is to specify e.g. -j3, where 3 is less than the total number of available CPUs. Alternatively you can build elsewhere by doing:
export TMPDIR=/somewhere/else
make -j