Hi,
I've been searching and searching, asking the mailing list of wx and dialogblocks. Still not found :
I have linux debian with gtk2
I build latest cvs with the following configure :
../configure --disable-shared --enable-debug --disable-optimise --enable-no_rtti --disable-compat24 --enable-mdi --with-opengl --enable-monolithic --with-gtk --with-libpng=sys --with-zlib=sys --with-libjpeg=sys
I build the widgets sample
It runs.
Now I take the widgets program built, try to run it on a knoppix (debian+kde) station.
1) it asks for lipng.so.2 which is not present (only have libpng.so), and so I have to add this library in current path (from the other PC) and add current path to LD_LIBRARY_PATH. I initially did not build wx with --with-libpng=sys and it was the same.
2) the sample runs but all radio box, check box, buttons etc.. are invisible (only texts remain!) I cannot understand what's wrong.
Thanks for any help
link on gtk is impossible Topic is solved
Hi!
Have you tried --with-gtk2 and letting wxWidgets decide about sys or own image libs? Have you tried creating a link to lipng.so.2 using lipng.so?
I've got it running here on Fedora Core 2 and it works just fine...
Have you tried --with-gtk2 and letting wxWidgets decide about sys or own image libs? Have you tried creating a link to lipng.so.2 using lipng.so?
I've got it running here on Fedora Core 2 and it works just fine...
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
By using --with-libjpeg=sys it's going to use whatever lib it finds on the system. So when you distribute your app, on that end users system its going to look for a shared library. If that end system doesn't have it installed or it's an old version then you are going to get those errors. I use --with-libjpeg=builtin with good success.
HTH
CG
HTH
CG
Hi!
Have you tried to create a link to that file?It was the same and asked for libpng.so.2 while only libpng.so is on the system
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda